branch: master
commit 63968cc5cf56a0bcbabca55e49861865578b5bd5
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    * tex.el (TeX-one-master): Consider .ltx as ordinary TeX files.
---
 tex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex.el b/tex.el
index d2864b5f..cda1d7f6 100644
--- a/tex.el
+++ b/tex.el
@@ -2335,7 +2335,7 @@ It is suggested that you use the File Variables (see the 
info node
               (member x (quote (t nil shared dwim))))))
 (make-variable-buffer-local 'TeX-master)
 
-(defcustom TeX-one-master "\\.\\(texi?\\|dtx\\)$"
+(defcustom TeX-one-master "\\.\\(texi?\\|[dl]tx\\)\\'"
   "Regular expression matching ordinary TeX files.
 
 You should set this variable to match the name of all files, where

Reply via email to