From 046f1d22ff3572034bc98e31a84df1fbf995ff5d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 6 May 2020 02:15:22 +0200 Subject: [PATCH] org-ellipsis cannot be local variable * lisp/org.el (org-ellipsis): docstring specifies it cannot be a local variable. As a consequence, remove :safe keyword. Reported-by: "Mark E. Shoulson" --- lisp/org.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 5af4f8c05..e536cb2d9 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1086,11 +1086,10 @@ use that string instead. The change affects only Org mode (which will then use its own display table). Changing this requires executing `\\[org-mode]' in a buffer to become -effective." +effective. It cannot be set as a local variable." :group 'org-startup :type '(choice (const :tag "Default" nil) - (string :tag "String" :value "...#")) - :safe (lambda (v) (and (string-or-null-p v) (not (equal "" v))))) + (string :tag "String" :value "...#"))) (defvar org-display-table nil "The display table for Org mode, in case `org-ellipsis' is non-nil.")