1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

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.
This commit is contained in:
Glenn Morris 2021-10-02 10:37:42 -07:00
parent 3dc094abee
commit f9111d8784
9 changed files with 20 additions and 20 deletions

View File

@ -89,42 +89,42 @@
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'symbol :type 'symbol
:safe t) :safe #'symbolp)
(defcustom org-cite-basic-author-year-separator ", " (defcustom org-cite-basic-author-year-separator ", "
"String used to separate cites in an author-year configuration." "String used to separate cites in an author-year configuration."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'string :type 'string
:safe t) :safe #'stringp)
(defcustom org-cite-basic-max-key-distance 2 (defcustom org-cite-basic-max-key-distance 2
"Maximum (Levenshtein) distance between a wrong key and its suggestions." "Maximum (Levenshtein) distance between a wrong key and its suggestions."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'integer :type 'integer
:safe t) :safe #'integerp)
(defcustom org-cite-basic-author-column-end 25 (defcustom org-cite-basic-author-column-end 25
"Column where author field ends in completion table, as an integer." "Column where author field ends in completion table, as an integer."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'integer :type 'integer
:safe t) :safe #'integerp)
(defcustom org-cite-basic-column-separator " " (defcustom org-cite-basic-column-separator " "
"Column separator in completion table, as a string." "Column separator in completion table, as a string."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'string :type 'string
:safe t) :safe #'stringp)
(defcustom org-cite-basic-mouse-over-key-face 'highlight (defcustom org-cite-basic-mouse-over-key-face 'highlight
"Face used when mouse is over a citation key." "Face used when mouse is over a citation key."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'face :type 'face
:safe t) :safe #'facep)
;;; Internal variables ;;; Internal variables

View File

@ -80,7 +80,7 @@ If \"biblatex\" package is already required in the document, e.g., through
:type '(choice :type '(choice
(string :tag "Options (key=value,key2=value2...)") (string :tag "Options (key=value,key2=value2...)")
(const :tag "No option" nil)) (const :tag "No option" nil))
:safe t) :safe #'string-or-null-p)
;;; Internal functions ;;; Internal functions

View File

@ -146,7 +146,7 @@ directory. This variable is ignored when style file is absolute."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'boolean :type 'boolean
:safe t) :safe #'booleanp)
(defcustom org-cite-csl-no-citelinks-backends '(ascii) (defcustom org-cite-csl-no-citelinks-backends '(ascii)
"List of export back-ends for which cite linking is disabled. "List of export back-ends for which cite linking is disabled.
@ -163,7 +163,7 @@ is also disabled."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'string :type 'string
:safe t) :safe #'stringp)
(defcustom org-cite-csl-html-label-width-per-char "0.6em" (defcustom org-cite-csl-html-label-width-per-char "0.6em"
"Character width in CSS units for calculating entry label widths. "Character width in CSS units for calculating entry label widths.
@ -171,14 +171,14 @@ Used only when `second-field-align' is activated by the used CSL style."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'string :type 'string
:safe t) :safe #'stringp)
(defcustom org-cite-csl-latex-hanging-indent "1.5em" (defcustom org-cite-csl-latex-hanging-indent "1.5em"
"Size of hanging-indent for LaTeX output in valid LaTeX units." "Size of hanging-indent for LaTeX output in valid LaTeX units."
:group 'org-cite :group 'org-cite
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'string :type 'string
:safe t) :safe #'stringp)
;;; Internal variables ;;; Internal variables

View File

@ -234,7 +234,7 @@ When nil, the note number is not moved."
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type '(choice (const :tag "Automatic note number location" t) :type '(choice (const :tag "Automatic note number location" t)
(const :tag "Place note numbers manually" nil)) (const :tag "Place note numbers manually" nil))
:safe t) :safe #'booleanp)
(defcustom org-cite-note-rules (defcustom org-cite-note-rules
'(("en-us" inside outside after) '(("en-us" inside outside after)

View File

@ -300,7 +300,7 @@ implementation is bad."
In tables, the special behavior of RET has precedence." In tables, the special behavior of RET has precedence."
:group 'org-link-follow :group 'org-link-follow
:type 'boolean :type 'boolean
:safe t) :safe #'booleanp)
;;; Functions ;;; Functions

View File

@ -3630,7 +3630,7 @@ When this is non-nil, the headline after the keyword is set to the
:group 'org-appearance :group 'org-appearance
:package-version '(Org . "9.4") :package-version '(Org . "9.4")
:type 'boolean :type 'boolean
:safe t) :safe #'booleanp)
(defcustom org-fontify-done-headline t (defcustom org-fontify-done-headline t
"Non-nil means change the face of a headline if it is marked DONE. "Non-nil means change the face of a headline if it is marked DONE.

View File

@ -795,7 +795,7 @@ Most common values are:
:group 'org-export-html :group 'org-export-html
:package-version '(Org . "9.4") :package-version '(Org . "9.4")
:type 'string :type 'string
:safe t) :safe #'stringp)
(defcustom org-html-with-latex org-export-with-latex (defcustom org-html-with-latex org-export-with-latex
"Non-nil means process LaTeX math snippets. "Non-nil means process LaTeX math snippets.
@ -903,7 +903,7 @@ numbers are enabled."
:group 'org-export-html :group 'org-export-html
:package-version '(Org . "9.3") :package-version '(Org . "9.3")
:type 'boolean :type 'boolean
:safe t) :safe #'booleanp)
;;;; Table ;;;; Table

View File

@ -413,7 +413,7 @@ to \"\\autoref{%s}\" or \"\\cref{%s}\" for example."
:group 'org-export-latex :group 'org-export-latex
:type 'string :type 'string
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:safe t) :safe #'stringp)
;;;; Preamble ;;;; Preamble
@ -793,7 +793,7 @@ default we use here encompasses both."
:group 'org-export-latex :group 'org-export-latex
:package-version '(Org . "9.5") :package-version '(Org . "9.5")
:type 'string :type 'string
:safe t) :safe #'stringp)
(defcustom org-latex-default-table-mode 'table (defcustom org-latex-default-table-mode 'table
"Default mode for tables. "Default mode for tables.

View File

@ -67,7 +67,7 @@ matching the white space). The pattern is matched case-sensitive regardless of
the value of `case-fold-search' setting." the value of `case-fold-search' setting."
:version "25.1" :version "25.1"
:type 'regexp :type 'regexp
:safe t) :safe #'stringp)
(defcustom tildify-pattern-alist () (defcustom tildify-pattern-alist ()
"Alist specifying where to insert hard spaces. "Alist specifying where to insert hard spaces.
@ -112,7 +112,7 @@ If nil, current major mode has no way to represent a hard space."
" ") " ")
(const :tag "No-break space (U+00A0)" "\u00A0") (const :tag "No-break space (U+00A0)" "\u00A0")
(string :tag "Custom string")) (string :tag "Custom string"))
:safe t) :safe #'string-or-null-p)
(defcustom tildify-string-alist () (defcustom tildify-string-alist ()
"Alist specifying what is a hard space in the current major mode. "Alist specifying what is a hard space in the current major mode.