Fix bug in ASCII export of \n
This commit is contained in:
parent
f84a8a8651
commit
a025579e50
|
@ -1,5 +1,8 @@
|
||||||
2010-04-01 Carsten Dominik <carsten.dominik@gmail.com>
|
2010-04-01 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org-entities.el (org-entity-get-representation): Catch the case
|
||||||
|
that there is not entry in the list.
|
||||||
|
|
||||||
* org-mobile.el (org-mobile-use-encryption)
|
* org-mobile.el (org-mobile-use-encryption)
|
||||||
(org-mobile-encryption-tempfile, org-mobile-encryption-password):
|
(org-mobile-encryption-tempfile, org-mobile-encryption-password):
|
||||||
New options.
|
New options.
|
||||||
|
|
|
@ -429,7 +429,8 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'."
|
||||||
(n (cdr (assq kind '((latex . 1) (html . 3) (ascii . 4)
|
(n (cdr (assq kind '((latex . 1) (html . 3) (ascii . 4)
|
||||||
(latin1 . 5) (utf8 . 6)))))
|
(latin1 . 5) (utf8 . 6)))))
|
||||||
(r (and e n (nth n e))))
|
(r (and e n (nth n e))))
|
||||||
(if (and (not org-entities-ascii-explanatory)
|
(if (and e r
|
||||||
|
(not org-entities-ascii-explanatory)
|
||||||
(memq kind '(ascii latin1 utf8))
|
(memq kind '(ascii latin1 utf8))
|
||||||
(= (string-to-char r) ?\[))
|
(= (string-to-char r) ?\[))
|
||||||
(concat "\\" name)
|
(concat "\\" name)
|
||||||
|
|
Loading…
Reference in New Issue