mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 14:02:57 +00:00
Newlines in macros can de defined using \n
This commit is contained in:
parent
5b7ea02286
commit
b069091873
|
@ -1,3 +1,7 @@
|
||||||
|
2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org-exp.el (org-export-interpolate-newlines): New function.
|
||||||
|
|
||||||
2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
|
2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
* org.el (org-format-latex): Avoid nested overlays.
|
* org.el (org-format-latex): Avoid nested overlays.
|
||||||
|
|
|
@ -742,9 +742,14 @@ modified) list.")
|
||||||
(setq p (plist-put
|
(setq p (plist-put
|
||||||
p (intern
|
p (intern
|
||||||
(concat ":macro-" (downcase (match-string 1 val))))
|
(concat ":macro-" (downcase (match-string 1 val))))
|
||||||
(match-string 2 val)))))
|
(org-export-interpolate-newlines (match-string 2 val))))))
|
||||||
p))))
|
p))))
|
||||||
|
|
||||||
|
(defun org-export-interpolate-newlines (s)
|
||||||
|
(while (string-match "\\\\n" s)
|
||||||
|
(setq s (replace-match "\n" t t s)))
|
||||||
|
s)
|
||||||
|
|
||||||
(defvar org-export-allow-BIND-local nil)
|
(defvar org-export-allow-BIND-local nil)
|
||||||
(defun org-export-confirm-letbind ()
|
(defun org-export-confirm-letbind ()
|
||||||
"Can we use #+BIND values during export?
|
"Can we use #+BIND values during export?
|
||||||
|
|
Loading…
Reference in a new issue