all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-tempo and org-structure-template-alist changes
@ 2018-01-08  2:36 Rustom Mody
  0 siblings, 0 replies; only message in thread
From: Rustom Mody @ 2018-01-08  2:36 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

Recent changes to org (not sure when), seem to have changed the type
of org-structure-template-alist

This broke org-reveal : https://github.com/yjwen/org-reveal

I suggested (without too much knowledge) the attached patch to the reveal folks
(Issue: https://github.com/yjwen/org-reveal/issues/315#issuecomment-355868192 )

Now someone has asked that that patch be made into a pull-request

It would be good if someone here can look at the patch in the light of
these recent changes and see
if the patch looks ok

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 764 bytes --]

--- ox-reveal.el	2017-12-24 16:59:00.993293157 +0530
+++ ox-reveal-new.el	2017-12-24 17:54:22.293899742 +0530
@@ -359,7 +359,7 @@
   :group 'org-export-reveal
   :type 'string)
 
-(defcustom org-reveal-note-key-char "n"
+(defcustom org-reveal-note-key-char ?n
   "If not nil, org-reveal-note-key-char's value is registered as
   the key character to Org-mode's structure completion for
   Reveal.js notes. When `<' followed by the key character are
@@ -1228,7 +1228,7 @@
 ;; Register auto-completion for speaker notes.
 (when org-reveal-note-key-char
   (add-to-list 'org-structure-template-alist
-               (list org-reveal-note-key-char "#+BEGIN_NOTES\n\?\n#+END_NOTES")))
+               (cons org-reveal-note-key-char "notes")))
 
 (provide 'ox-reveal)
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-08  2:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08  2:36 org-tempo and org-structure-template-alist changes Rustom Mody

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.