diff --git a/lisp/ChangeLog b/lisp/ChangeLog index caeccf832..6b9c939f1 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-01-08 Carsten Dominik + * org-jsinfo.el (org-infojs-handle-options): Catch the case if v + is nil. + * org-exp.el (org-export-normalize-links): Protect the main link, to avoid special character processing. diff --git a/lisp/org-jsinfo.el b/lisp/org-jsinfo.el index 5fead0528..75f490907 100644 --- a/lisp/org-jsinfo.el +++ b/lisp/org-jsinfo.el @@ -140,7 +140,7 @@ Option settings will replace the %MANAGER-OPTIONS cookie." default (cdr (assoc opt org-infojs-options))) (and (symbolp default) (not (memq default '(t nil))) (setq default (plist-get exp-plist default))) - (if (string-match (format " %s:\\(\\S-+\\)" opt) v) + (if (and v (string-match (format " %s:\\(\\S-+\\)" opt) v)) (setq val (match-string 1 v)) (setq val default)) (cond