diff options
author | Glenn Morris <rgm@gnu.org> | 2021-10-02 10:59:48 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2021-10-02 11:00:23 -0700 |
commit | 4341e79a5fad3e5e668a3eeb1b688d1986011481 (patch) | |
tree | 0c6c4d008afb62e3ed95a906c1bf7cfa8dfccaf4 /lisp/org/oc-csl.el | |
parent | b6f6b593c6752fabf7cc7532f6a2fda5a5e8373e (diff) |
Remove bogus ":safe t" custom properties
* lisp/org/oc.el (org-cite-global-bibliography)
(org-cite-note-rules, org-cite-punctuation-marks):
* lisp/org/oc-csl.el (org-cite-csl-locales-dir)
(org-cite-csl-styles-dir, org-cite-csl-no-citelinks-backends):
* lisp/org/oc-natbib.el (org-cite-natbib-options):
* lisp/org/org-keys.el (org-mouse-1-follows-link):
Remove bogus ":safe t" properties that would largely need to be
replaced by custom predicates.
Diffstat (limited to 'lisp/org/oc-csl.el')
-rw-r--r-- | lisp/org/oc-csl.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/org/oc-csl.el b/lisp/org/oc-csl.el index 1430779b982..b847fbbc4f6 100644 --- a/lisp/org/oc-csl.el +++ b/lisp/org/oc-csl.el @@ -127,7 +127,9 @@ If nil then only the fallback en-US locale will be available." :type '(choice (directory :tag "Locales directory") (const :tag "Use en-US locale only" nil)) - :safe t) + ;; It's not obvious to me that arbitrary locations are safe. +;;; :safe #'string-or-null-p + ) (defcustom org-cite-csl-styles-dir nil "Directory of CSL style files. @@ -138,7 +140,9 @@ directory. This variable is ignored when style file is absolute." :type '(choice (directory :tag "Styles directory") (const :tag "Use absolute file names" nil)) - :safe t) + ;; It's not obvious to me that arbitrary locations are safe. +;;; :safe #'string-or-null-p + ) ;;;; Citelinks (defcustom org-cite-csl-link-cites t @@ -154,8 +158,7 @@ Cite linking for export back-ends derived from any of the back-ends listed here, is also disabled." :group 'org-cite :package-version '(Org . "9.5") - :type '(repeat symbol) - :safe t) + :type '(repeat symbol)) ;;;; Output-specific variables (defcustom org-cite-csl-html-hanging-indent "1.5em" |