From c10ae1a1bb9bb7498eaa90f3c9acdd719a81744c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 5 Dec 2014 23:26:40 +0100 Subject: [PATCH] Fix 6289d8e * lisp/org.el (org-set-regexps-and-options): Do not ignore "^:nil" options. (org--setup-collect-keywords): Fix docstring. --- lisp/org.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index e8064403a..6466e8f23 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -4980,8 +4980,9 @@ related expressions." (org-set-local 'org-lowest-priority (nth 1 priorities)) (org-set-local 'org-default-priority (nth 2 priorities)))) ;; Scripts. - (let ((scripts (cdr (assq 'scripts alist)))) - (when scripts (org-set-local 'org-use-sub-superscripts scripts))) + (let ((scripts (assq 'scripts alist))) + (when scripts + (org-set-local 'org-use-sub-superscripts (cdr scripts)))) ;; Startup options. (let ((startup (cdr (assq 'startup alist)))) (dolist (option startup) @@ -5097,7 +5098,7 @@ files. ALIST, when non-nil, is the alist computed so far. Return value contains the following keys: `archive', `category', `columns', `constants', `filetags', `link', `priorities', -`property', `startup', `tags', `todo' and `scripts'." +`property', `scripts', `startup', `tags' and `todo'." (org-with-wide-buffer (goto-char (point-min)) (let ((case-fold-search t)) -- 2.11.4.GIT