From: Carsten Dominik Date: Thu, 13 Apr 2006 16:33:06 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-22.0.90~3144 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6eff18ef66135e89bbde3933a6a992faced367d4;p=emacs.git *** empty log message *** --- diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 30e52837788..6b9b9950d2c 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -13238,9 +13238,10 @@ With optional NODE, go directly to that node." ;; through to `fill-paragraph' when appropriate. (set (make-local-variable 'fill-paragraph-function) 'org-fill-paragraph) ;; Adaptive filling: To get full control, first make sure that - ;; `adaptive-fill-regexp' never matches. Then install our won matcher. - (setq adaptive-fill-regexp "\000") - (setq adaptive-fill-function 'org-adaptive-fill-function)) + ;; `adaptive-fill-regexp' never matches. Then install our own matcher. + (set (make-local-variable 'adaptive-fill-regexp) "\000") + (set (make-local-variable 'adaptive-fill-function) + 'org-adaptive-fill-function)) (defun org-fill-paragraph (&optional justify) "Re-align a table, pass through to fill-paragraph if no table."