branch: externals/auctex
commit db75369df3c15e6f7c2c303a80511f2a6ed3d27a
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@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