branch: externals/objed commit 04b079ef1e70c2c50df54a7a3a8c746814e9cf4c Author: Clemens Radermacher <clem...@posteo.net> Commit: Clemens Radermacher <clem...@posteo.net>
Mark some vars which don't follow emacs naming conventions obsolete -p suffix should only be used for predicate functions --- objed.el | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/objed.el b/objed.el index d3b43f8..888afb6 100644 --- a/objed.el +++ b/objed.el @@ -287,6 +287,10 @@ state. Commands added to this list wont do that." :group 'objed :type 'function) +(define-obsolete-variable-alias 'objed-modeline-hint-p + 'objed-modeline-hint "ea0be40dd" + "Whether to show hint for current object in mode line.") + (defcustom objed-modeline-hint-p t "Whether to show hint for current object in mode line." :group 'objed @@ -324,6 +328,12 @@ removed." ;; optional dep options +(define-obsolete-variable-alias 'objed-use-which-key-if-available-p + 'objed-use-which-key-if-available "ea0be40dd" + "Whether to allow loading and use of `which-key'. + +To avoid loading `which-key' set this var before activating `objed-mode.'") + (defcustom objed-use-which-key-if-available-p t "Whether to allow loading and use of `which-key'. @@ -331,6 +341,13 @@ To avoid loading `which-key' set this var before activating `objed-mode.'" :group 'objed :type 'boolean) +(define-obsolete-variable-alias 'objed-auto-wk-top-level-p + 'objed-auto-wk-top-level "ea0be40dd" + "Whether to show top level help automatically when activating. + +Respects `which-key-idle-delay'. +The top level help is also available via `objed-show-top-level'.") + (defcustom objed-auto-wk-top-level-p nil "Whether to show top level help automatically when activating. @@ -339,6 +356,12 @@ The top level help is also available via `objed-show-top-level'." :group 'objed :type 'boolean) +(define-obsolete-variable-alias 'objed-use-avy-if-available-p + 'objed-use-avy-if-available "ea0be40dd" + "Whether to allow loading and use of `avy'. + +To avoid loading `avy' set this var before activating `objed-mode.'") + (defcustom objed-use-avy-if-available-p t "Whether to allow loading and use of `avy'. @@ -346,6 +369,10 @@ To avoid loading `avy' set this var before activating `objed-mode.'" :group 'objed :type 'boolean) +(define-obsolete-variable-alias 'objed-use-hl-p + 'objed-use-hl "ea0be40dd" + "Whether allow loading and use of `hl-line' to highlight the current object.") + (defcustom objed-use-hl-p t "Whether allow loading and use of `hl-line' to highlight the current object." :group 'objed