+2006-01-23 Arne J\e,Ax\e(Brgensen <arne@arnested.dk>
+
+ * international/latexenc.el (latexenc-find-file-coding-system):
+ Add file-regular-p check.
+
2006-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (clone-buffer): Don't show the new buffer in the same
;;; latexenc.el --- guess correct coding system in LaTeX files
-;; Copyright (C) 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2006 Free Software Foundation, Inc.
;; Author: Arne J\e,Ax\e(Brgensen <arne@arnested.dk>
;; Keywords: mule, coding system, latex
(setq latexenc-main-file (tex-guess-main-file)))))
;; if we found a master/main file get the coding system from it
(if (and latexenc-main-file
+ (file-regular-p latexenc-main-file)
(file-readable-p latexenc-main-file))
(let* ((latexenc-dont-use-tex-guess-main-file-flag t)
(latexenc-dont-use-TeX-master-flag t)