Browse Source

org.el: Make orgstruct++-mode overwrite local non-org vars again.

* org.el (orgstruct++-mode): Overwrite local non-org vars again.
Christopher Schmidt 12 years ago
parent
commit
0ea11e26e4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lisp/org.el

+ 2 - 0
lisp/org.el

@@ -8877,6 +8877,8 @@ buffer.  It will also recognize item context in multiline items."
 		   org-fb-vars))
     (orgstruct-mode 1)
     (setq org-fb-vars nil)
+    (unless org-local-vars
+      (setq org-local-vars (org-get-local-variables)))
     (let (var val)
       (mapc
        (lambda (x)