diff lisp/textmodes/org.el @ 76189:34859b4348a6

(org-archive-subtree): Quote variable name.
author Carsten Dominik <dominik@science.uva.nl>
date Tue, 27 Feb 2007 03:43:34 +0000
parents 4aa6d6384e7d
children 5a8a5fa3281a
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Tue Feb 27 03:37:51 2007 +0000
+++ b/lisp/textmodes/org.el	Tue Feb 27 03:43:34 2007 +0000
@@ -5528,9 +5528,10 @@
 	      (org-done-string tr-org-done-string)
 	      (org-todo-regexp tr-org-todo-regexp)
 	      (org-todo-line-regexp tr-org-todo-line-regexp)
-	      (org-odd-levels-only (if (local-variable-p org-odd-levels-only)
-				       org-odd-levels-only
-				     tr-org-odd-levels-only)))
+	      (org-odd-levels-only
+	       (if (local-variable-p 'org-odd-levels-only)
+		   org-odd-levels-only
+		 tr-org-odd-levels-only)))
 	  (goto-char (point-min))
 	  (if heading
 	      (progn