]> code.delx.au - gnu-emacs/commitdiff
*** empty log message ***
authorCarsten Dominik <dominik@science.uva.nl>
Thu, 13 Apr 2006 16:33:06 +0000 (16:33 +0000)
committerCarsten Dominik <dominik@science.uva.nl>
Thu, 13 Apr 2006 16:33:06 +0000 (16:33 +0000)
lisp/textmodes/org.el

index 30e5283778847d2ce0f2d0b150adae217606d92c..6b9b9950d2cf91c0850f1f67306229a74be841f5 100644 (file)
@@ -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."