branch: elpa/dirvish commit d64c65d7b0b4993770d4f659ea0c9ebb7424657f Author: Alex Lu <hellosimon1...@hotmail.com> Commit: Alex Lu <hellosimon1...@hotmail.com>
chore: remove outdated obsolete declarations --- dirvish-widgets.el | 1 - dirvish.el | 2 -- extensions/dirvish-fd.el | 2 -- extensions/dirvish-history.el | 5 ----- extensions/dirvish-side.el | 2 -- extensions/dirvish-subtree.el | 1 - 6 files changed, 13 deletions(-) diff --git a/dirvish-widgets.el b/dirvish-widgets.el index d150959b15..8ddfb09540 100644 --- a/dirvish-widgets.el +++ b/dirvish-widgets.el @@ -60,7 +60,6 @@ variable is nil, the auto caching is disabled." (setq dirvish-media--auto-cache-timer (run-with-timer 0 0.25 #'dirvish-media--autocache))))) -(define-obsolete-variable-alias 'dirvish-media-auto-properties 'dirvish-show-media-properties "Sep 28, 2022") (defcustom dirvish-show-media-properties (and (executable-find "mediainfo") (executable-find "pdfinfo") t) "Show media properties automatically in preview window." diff --git a/dirvish.el b/dirvish.el index 08358f1f11..b2ca5bae1a 100644 --- a/dirvish.el +++ b/dirvish.el @@ -104,7 +104,6 @@ allocated to preview window. The default value provides a "Face for Dirvish line highlighting." :group 'dirvish) -(define-obsolete-variable-alias 'dirvish-mode-line-position 'dirvish-use-mode-line "Aug 5, 2022") (defcustom dirvish-use-mode-line t "Whether to display mode line in dirvish buffers. The valid value are: @@ -116,7 +115,6 @@ The valid value are: (const :tag "Display the mode line across directory panes" t) (const :tag "Make the mode line span all panes" global))) -(define-obsolete-variable-alias 'dirvish-header-line-position 'dirvish-use-header-line "Aug 5, 2022") (defcustom dirvish-use-header-line t "Like `dirvish-use-mode-line', but for header line." :group 'dirvish :type 'symbol) diff --git a/extensions/dirvish-fd.el b/extensions/dirvish-fd.el index bfb3693717..4d1a38535e 100644 --- a/extensions/dirvish-fd.el +++ b/extensions/dirvish-fd.el @@ -251,8 +251,6 @@ Raise an error if fd executable is not available." "Current working directory." (propertize (abbreviate-file-name default-directory) 'face 'dired-directory)) -(define-obsolete-function-alias 'dirvish-roam #'dirvish-fd-jump "Jun 08, 2022") -(define-obsolete-function-alias 'dirvish-fd-roam #'dirvish-fd-jump "Jul 17, 2022") ;;;###autoload (defun dirvish-fd-jump (&optional current-dir-p) "Browse directories using `fd' command. diff --git a/extensions/dirvish-history.el b/extensions/dirvish-history.el index 3f474103ca..e28016a14b 100644 --- a/extensions/dirvish-history.el +++ b/extensions/dirvish-history.el @@ -15,11 +15,6 @@ (require 'dirvish) -(define-obsolete-function-alias 'dirvish-show-history #'dirvish-history-jump "Jun 08, 2022") -(define-obsolete-function-alias 'dirvish-other-buffer #'dirvish-history-last "Jun 08, 2022") -(define-obsolete-function-alias 'dirvish-go-forward-history #'dirvish-history-go-forward "Jun 08, 2022") -(define-obsolete-function-alias 'dirvish-go-backward-history #'dirvish-history-go-backward "Jun 08, 2022") - ;;;###autoload (defun dirvish-history-jump () "Open a target directory from `dirvish--history'." diff --git a/extensions/dirvish-side.el b/extensions/dirvish-side.el index 57c36b98d1..26e03b6204 100644 --- a/extensions/dirvish-side.el +++ b/extensions/dirvish-side.el @@ -28,7 +28,6 @@ "Window parameters for `dirvish-side' window." :group 'dirvish :type 'alist) -(define-obsolete-variable-alias 'dirvish-side-open-file-window-function 'dirvish-side-open-file-action "Sep 23, 2022") (defcustom dirvish-side-open-file-action 'mru "The action of how to open a file in side window. The value can be one of: @@ -48,7 +47,6 @@ The value can be one of: "Whether to auto close the side session after opening a file." :group 'dirvish :type 'boolean) -(define-obsolete-variable-alias 'dirvish-side-follow-buffer-file 'dirvish-side-auto-expand "Sep 15, 2022") (defcustom dirvish-side-auto-expand t "Whether to auto expand parent directories of current file. If non-nil, expand all the parent directories of current buffer's diff --git a/extensions/dirvish-subtree.el b/extensions/dirvish-subtree.el index 970ea27536..70699cdeb0 100644 --- a/extensions/dirvish-subtree.el +++ b/extensions/dirvish-subtree.el @@ -28,7 +28,6 @@ The value may be a string of options or nil which means the working switches of current buffer will be used." :type '(choice symbol string) :group 'dirvish) -(define-obsolete-variable-alias 'dirvish-subtree-line-prefix 'dirvish-subtree-prefix "Sep 1, 2022") (defcustom dirvish-subtree-prefix " │" "A string put into each nested subtree. The prefix is repeated \"depth\" times."