emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 53b1e6f96c 01/10: Make outline-view-change-hook obsolete


From: Stefan Kangas
Subject: master 53b1e6f96c 01/10: Make outline-view-change-hook obsolete
Date: Sat, 30 Jul 2022 06:12:06 -0400 (EDT)

branch: master
commit 53b1e6f96cb03a461061e1e21cd185dd8a82ce6b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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.
---
 lisp/outline.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/outline.el b/lisp/outline.el
index 6ec7d95d3a..a68f648bd8 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]