Browse Source

org-export: Export properties from subtrees are case insensitive

* contrib/lisp/org-export.el (org-export--get-subtree-options): Export
  properties from subtrees are case insensitive.
Nicolas Goaziou 13 years ago
parent
commit
8d98835a3c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      contrib/lisp/org-export.el

+ 3 - 1
contrib/lisp/org-export.el

@@ -1323,7 +1323,9 @@ for export.  Return options as a plist."
 	  (let ((property (nth 1 option)))
 	    (when (and property (not (member property seen)))
 	      (let* ((subtree-prop (concat "EXPORT_" property))
-		     (value (org-entry-get (point) subtree-prop)))
+		     ;; Export properties are not case-sensitive.
+		     (value (let ((case-fold-search t))
+			      (org-entry-get (point) subtree-prop))))
 		(push property seen)
 		(when value
 		  (setq plist