emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/auctex 30f7a1ca68 63/77: Don't use void function texinf


From: Tassilo Horn
Subject: [elpa] externals/auctex 30f7a1ca68 63/77: Don't use void function texinfo-outline-level
Date: Fri, 26 Aug 2022 16:06:38 -0400 (EDT)

branch: externals/auctex
commit 30f7a1ca6808fac353c055ed93824521d532d066
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Tassilo Horn <tsdh@gnu.org>

    Don't use void function texinfo-outline-level
    
    Apparently, the function `texinfo-outline-level' was added to
    texinfo.el in 1996 (ChangeLog.6) and removed in 2003 (ChangeLog.10).
    In release 9.4f (1996) `outline-level' was set to this then newly
    added function, which has been void for 19 years now.
    
    I just noticed it now, because consult [0] checks if `outline-level' is
    bound, in which case it is funcall'ed.  In .texi buffer with auctex
    loaded, this triggers an error.
    
    [0] https://elpa.gnu.org/packages/consult.html
    
    * tex-info.el (TeX-texinfo-mode): Don't bind texinfo-outline-level to
    outline-level.
---
 tex-info.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tex-info.el b/tex-info.el
index 66e57517b8..2ee3d7acc1 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -680,7 +680,6 @@ value of `Texinfo-mode-hook'."
        (concat "@\\("
                (mapconcat #'car texinfo-section-list "\\>\\|")
                "\\>\\)"))
-  (set (make-local-variable 'outline-level) 'texinfo-outline-level)
 
   ;; Mostly AUCTeX stuff
   (set (make-local-variable 'TeX-command-current) #'TeX-command-master)



reply via email to

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