changeset 70017:65315013f21a

*** empty log message ***
author Carsten Dominik <dominik@science.uva.nl>
date Thu, 13 Apr 2006 16:32:47 +0000
parents b47f8cdc0b75
children 513397bbb13c
files lisp/textmodes/org.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Thu Apr 13 15:11:06 2006 +0000
+++ b/lisp/textmodes/org.el	Thu Apr 13 16:32:47 2006 +0000
@@ -13239,8 +13239,9 @@
   (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))
+  (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."