aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorGlenn Morris2021-10-02 10:37:42 -0700
committerGlenn Morris2021-10-02 10:37:42 -0700
commitf9111d8784bf12263abbe127cdfcbe5f409c9b3b (patch)
tree06510f30dd3e1b5e5ea3d265b7cb6cfa9307cee1 /lisp/textmodes
parent3dc094abeea40474b42c1f7002810011539769dc (diff)
downloademacs-f9111d8784bf12263abbe127cdfcbe5f409c9b3b.tar.gz
emacs-f9111d8784bf12263abbe127cdfcbe5f409c9b3b.zip
The safe-local-variable property is a function (bug#50944)
* lisp/org/oc-basic.el (org-cite-basic-sorting-field) (org-cite-basic-author-year-separator) (org-cite-basic-max-key-distance) (org-cite-basic-author-column-end) (org-cite-basic-column-separator) (org-cite-basic-mouse-over-key-face): * lisp/org/oc-biblatex.el (org-cite-biblatex-options): * lisp/org/oc-csl.el (org-cite-csl-link-cites) (org-cite-csl-html-hanging-indent) (org-cite-csl-html-label-width-per-char) (org-cite-csl-latex-hanging-indent): * lisp/org/oc.el (org-cite-adjust-note-numbers): * lisp/org/org-keys.el (org-return-follows-link): * lisp/org/org.el (org-fontify-todo-headline): * lisp/org/ox-html.el (org-html-equation-reference-format) (org-html-wrap-src-lines): * lisp/org/ox-latex.el (org-latex-reference-command) (org-latex-default-quote-environment): * lisp/textmodes/tildify.el (tildify-pattern) (tildify-space-string): Fix :safe property.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tildify.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el
index 01e2ad72d88..2a4c8cff8f0 100644
--- a/lisp/textmodes/tildify.el
+++ b/lisp/textmodes/tildify.el
@@ -67,7 +67,7 @@ matching the white space). The pattern is matched case-sensitive regardless of
67the value of `case-fold-search' setting." 67the value of `case-fold-search' setting."
68 :version "25.1" 68 :version "25.1"
69 :type 'regexp 69 :type 'regexp
70 :safe t) 70 :safe #'stringp)
71 71
72(defcustom tildify-pattern-alist () 72(defcustom tildify-pattern-alist ()
73 "Alist specifying where to insert hard spaces. 73 "Alist specifying where to insert hard spaces.
@@ -112,7 +112,7 @@ If nil, current major mode has no way to represent a hard space."
112 " ") 112 " ")
113 (const :tag "No-break space (U+00A0)" "\u00A0") 113 (const :tag "No-break space (U+00A0)" "\u00A0")
114 (string :tag "Custom string")) 114 (string :tag "Custom string"))
115 :safe t) 115 :safe #'string-or-null-p)
116 116
117(defcustom tildify-string-alist () 117(defcustom tildify-string-alist ()
118 "Alist specifying what is a hard space in the current major mode. 118 "Alist specifying what is a hard space in the current major mode.