Skip to content

Commit

Permalink
Remove obsolete variables
Browse files Browse the repository at this point in the history
Forgot to do this earlier!
  • Loading branch information
bdarcus committed Aug 9, 2022
1 parent 9d7088c commit beb9ce9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 49 deletions.
9 changes: 0 additions & 9 deletions citar-file.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@
(require 'seq)
(require 'map)

;;; pre-1.0 API cleanup

;; make all these private

(make-obsolete 'citar-file-parser-default 'citar-file--parser-default "1.0")
(make-obsolete 'citar-file-parser-triplet 'citar-file--parser-triplet "1.0")
(make-obsolete-variable 'citar-file-extensions
'citar-library-file-extensions "1.0")

(declare-function citar-get-value "citar" (field key-or-entry))
(declare-function citar--bibliography-files "citar" (&rest buffers))
(declare-function citar--check-configuration "citar" (&rest variables))
Expand Down
7 changes: 0 additions & 7 deletions citar-latex.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@
(declare-function TeX-find-macro-boundaries "ext:tex")
(declare-function TeX-parse-macro "ext:tex")

;;; pre-1.0 API cleanup

;; make all these private

(make-obsolete 'citar-latex-select-command 'citar-latex--select-command "1.0")
(make-obsolete 'citar-latex-is-a-cite-command 'citar-latex--is-a-cite-command "1.0")

(defvar citar-major-mode-functions)

(defcustom citar-latex-cite-commands
Expand Down
4 changes: 0 additions & 4 deletions citar-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
(require 'oc-basic)
(require 'oc-csl)

;; Pre-1.0 API cleanup

(make-obsolete 'citar-org-id-get-create 'citar-org--id-get-create "1.0")

(declare-function org-open-at-point "org")
(declare-function org-element-property "org-element")
(declare-function org-element-type "org-element")
Expand Down
29 changes: 0 additions & 29 deletions citar.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,35 +30,6 @@
(require 'citar-format)
(require 'citar-file)

;;; pre-1.0 API cleanup

;; make public
;; (make-obsolete 'citar--get-candidates 'citar-get-candidates "1.0")

;; Renamed in 1.0
(make-obsolete 'citar-has-file #'citar-has-files "1.0")
(make-obsolete 'citar-has-note #'citar-has-notes "1.0")
(make-obsolete 'citar-open-library-file #'citar-open-files "1.0")
(make-obsolete 'citar-attach-library-file #'citar-attach-files "1.0")
(make-obsolete 'citar-open-link #'citar-open-links "1.0")
(make-obsolete 'citar-get-link #'citar-get-links "1.0") ; now returns list
(make-obsolete 'citar-display-value 'citar-get-display-value "1.0")

;; make all these private
(make-obsolete 'citar-shorten-names 'citar--shorten-names "1.0")
(make-obsolete 'citar-get-template 'citar--get-template "1.0")
(make-obsolete 'citar-open-multi 'citar--open-multi "1.0")
(make-obsolete 'citar-select-group-related-resources
'citar--select-group-related-resources "1.0")
(make-obsolete 'citar-select-resource 'citar--select-resource "1.0")

;; also rename
(make-obsolete 'citar-has-a-value 'citar-get-field-with-value "0.9.5") ; now returns cons pair
(make-obsolete 'citar-field-with-value 'citar-get-field-with-value "1.0") ; now returns cons pair
(make-obsolete 'citar--open-note 'citar-file--open-note "1.0")

;;(make-obsolete-variable 'citar-format-note-function "1.0")

;;; Declare variables and functions for byte compiler

(defvar embark-default-action-overrides)
Expand Down

0 comments on commit beb9ce9

Please sign in to comment.