changeset 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 02e2382f5e8a
children 91b92801ba1a
files lisp/textmodes/org.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
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