Sfoglia il codice sorgente

Add :safe keyword to `org-hide-emphasis-markers'

* lisp/org.el (org-hide-emphasis-markers): Add :safe keyword.
Nicolas Goaziou 6 anni fa
parent
commit
f77f5b963d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      lisp/org.el

+ 2 - 1
lisp/org.el

@@ -4232,7 +4232,8 @@ following symbols:
 (defcustom org-hide-emphasis-markers nil
 (defcustom org-hide-emphasis-markers nil
   "Non-nil mean font-lock should hide the emphasis marker characters."
   "Non-nil mean font-lock should hide the emphasis marker characters."
   :group 'org-appearance
   :group 'org-appearance
-  :type 'boolean)
+  :type 'boolean
+  :safe #'booleanp)
 
 
 (defcustom org-hide-macro-markers nil
 (defcustom org-hide-macro-markers nil
   "Non-nil mean font-lock should hide the brackets marking macro calls."
   "Non-nil mean font-lock should hide the brackets marking macro calls."