diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-07-15 18:08:34 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-07-30 11:36:36 +0200 |
commit | 53b1e6f96cb03a461061e1e21cd185dd8a82ce6b (patch) | |
tree | da16282c08106586dd7d7c6a29a9179dcd1e181b /lisp/outline.el | |
parent | 76bcbe5f930f16014343ae75e92df94c727f30af (diff) | |
download | emacs-53b1e6f96cb03a461061e1e21cd185dd8a82ce6b.tar.gz emacs-53b1e6f96cb03a461061e1e21cd185dd8a82ce6b.tar.bz2 emacs-53b1e6f96cb03a461061e1e21cd185dd8a82ce6b.zip |
Make outline-view-change-hook obsolete
According to a comment, this hook "Seems only used by lazy-lock.
I.e. obsolete." But lazy-lock has been deleted.
* lisp/outline.el (outline-view-change-hook): Make obsolete.
Diffstat (limited to 'lisp/outline.el')
-rw-r--r-- | lisp/outline.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/outline.el b/lisp/outline.el index 6ec7d95d3a1..a68f648bd82 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -327,6 +327,7 @@ data reflects the `outline-regexp'.") (defvar outline-view-change-hook nil "Normal hook to be run after outline visibility changes.") +(make-obsolete-variable 'outline-view-change-hook nil "29.1") (defvar outline-mode-hook nil "This hook is run when outline mode starts.") @@ -864,7 +865,6 @@ If FLAG is nil then text is shown, while if FLAG is t the text is hidden." (or outline-isearch-open-invisible-function #'outline-isearch-open-invisible)))) (outline--fix-up-all-buttons from to) - ;; Seems only used by lazy-lock. I.e. obsolete. (run-hooks 'outline-view-change-hook)) (defun outline-reveal-toggle-invisible (o hidep) |