Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e450a16a
Commit
e450a16a
authored
Jan 23, 2006
by
Reiner Steib
Browse files
(latexenc-find-file-coding-system): Add file-regular-p check.
parent
af71d4c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/international/latexenc.el
lisp/international/latexenc.el
+2
-1
No files found.
lisp/ChangeLog
View file @
e450a16a
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
...
...
lisp/international/latexenc.el
View file @
e450a16a
;;; 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 @@ coding system names is determined from `latex-inputenc-coding-alist'."
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment