auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] [elpa] externals/auctex db75369df3 05/14: * latex.el (TeX


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex db75369df3 05/14: * latex.el (TeX-read-hook): Support 'include/excluded' hook.
Date: Sat, 16 Apr 2022 04:28:43 -0400 (EDT)

branch: externals/auctex
commit db75369df3c15e6f7c2c303a80511f2a6ed3d27a
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    * latex.el (TeX-read-hook): Support 'include/excluded' hook.
---
 latex.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/latex.el b/latex.el
index 85c290ec50..ad6908722f 100644
--- a/latex.el
+++ b/latex.el
@@ -3278,7 +3278,7 @@ as values for the key.  Use PROMPT as the prompt string."
                    (cond ((member hook '("env" "para"))
                           '("after" "before" "begin" "end"))
                          ((string= hook "include")
-                          '("after" "before" "end"))
+                          '("after" "before" "end" "excluded"))
                          ((string= hook "begindocument")
                           '("before" "end"))
                          ((string= hook "enddocument")
@@ -3337,7 +3337,7 @@ as values for the key.  Use PROMPT as the prompt string."
            (setq where (funcall place)))
 
           ;; include/<file-name>/<where>: <file-name> is optional and
-          ;; <where> is one of (before|after|end)
+          ;; <where> is one of (before|after|end|excluded)
           ((string= hook "include")
            (if (funcall search)
                (progn




reply via email to

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