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
--- 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)
 

Reply via email to