Mercurial > emacs
changeset 68356:d6c3138b1287
(latexenc-find-file-coding-system): Add file-regular-p check.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Mon, 23 Jan 2006 14:26:02 +0000 |
parents | 1f46740719ec |
children | 665da4a60868 |
files | lisp/ChangeLog lisp/international/latexenc.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Jan 23 13:54:37 2006 +0000 +++ b/lisp/ChangeLog Mon Jan 23 14:26:02 2006 +0000 @@ -1,3 +1,8 @@ +2006-01-23 Arne J,Ax(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
--- a/lisp/international/latexenc.el Mon Jan 23 13:54:37 2006 +0000 +++ b/lisp/international/latexenc.el Mon Jan 23 14:26:02 2006 +0000 @@ -1,6 +1,6 @@ ;;; 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,Ax(Brgensen <arne@arnested.dk> ;; Keywords: mule, coding system, latex @@ -167,6 +167,7 @@ (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)