XEmacs compatibility fix

This commit is contained in:
Carsten Dominik 2010-04-23 21:02:19 +02:00
parent ff38550278
commit 07198e34f6
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2010-04-23 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-set-autofill-regexps): XEmacs compatibility.
* org-latex.el (org-export-latex-set-initial-vars): Allow "-"
in latex class definitions

View File

@ -17790,7 +17790,7 @@ the functionality can be provided as a fall-back.")
(org-set-local 'fill-paragraph-function 'org-fill-paragraph)
;; Adaptive filling: To get full control, first make sure that
;; `adaptive-fill-regexp' never matches. Then install our own matcher.
(unless (local-variable-p 'adaptive-fill-regexp)
(unless (local-variable-p 'adaptive-fill-regexp (current-buffer))
(org-set-local 'org-adaptive-fill-regexp-backup
adaptive-fill-regexp))
(org-set-local 'adaptive-fill-regexp "\000")