: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.
: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
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"
(const :tag "order as above, but numerical citations are compressed if possible" sort&compress)
(const :tag "display full author list on first citation, abbreviate the others" longnamesfirst)
(const :tag "redefine \\thebibliography to issue \\section* instead of \\chapter*" sectionbib)
- (const :tag "keep all the authors' names in a citation on one line" nonamebreak))
- :safe t)
+ (const :tag "keep all the authors' names in a citation on one line" nonamebreak)))
\f
;;; Internal functions
:package-version '(Org . "9.5")
:type '(choice (const :tag "No global bibliography" nil)
(repeat :tag "List of bibliography files"
- (file :tag "Bibliography")))
- :safe t)
+ (file :tag "Bibliography"))))
(defcustom org-cite-activate-processor 'basic
"Processor used for activating citations, as a symbol."
(const :tag "Citation next to punctuation" same))
(choice :tag "Order of citation and punctuation"
(const :tag "Citation first" before)
- (const :tag "Citation last" after))))
- :safe t)
+ (const :tag "Citation last" after)))))
(defcustom org-cite-punctuation-marks '("." "," ";" ":" "!" "?")
"List of strings that can be moved around when placing note numbers.
place note numbers according to rules defined in `org-cite-note-rules'."
:group 'org-cite
:package-version '(Org . "9.5")
- :type '(repeat string)
- :safe t)
+ :type '(repeat string))
\f
;;; Citation processors
:type '(choice
(const :tag "A double click follows the link" double)
(const :tag "Unconditionally follow the link with mouse-1" t)
- (integer :tag "mouse-1 click does not follow the link if longer than N ms" 450))
- :safe t)
+ (integer :tag "mouse-1 click does not follow the link if longer than N ms" 450)))
(defcustom org-tab-follows-link nil
"Non-nil means on links TAB will follow the link.