/[emacs]/emacs/lisp/international/latexenc.el
ViewVC logotype

Diff of /emacs/lisp/international/latexenc.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by monnier, Fri Jun 3 14:37:04 2005 UTC revision 1.7 by monnier, Mon Jun 6 18:13:21 2005 UTC
# Line 159  coding system names is determined from ` Line 159  coding system names is determined from `
159                          (setq latexenc-main-file (concat file ext)))))))                          (setq latexenc-main-file (concat file ext)))))))
160              ;; try tex-modes tex-guess-main-file              ;; try tex-modes tex-guess-main-file
161              (when (and (not latexenc-dont-use-tex-guess-main-file-flag)              (when (and (not latexenc-dont-use-tex-guess-main-file-flag)
162                         (not latexenc-main-file)                         (not latexenc-main-file))
163                         (fboundp 'tex-guess-main-file))                ;; Use a separate `when' so the byte-compiler sees the fboundp.
164                (let ((tex-start-of-header "\\\\document\\(style\\|class\\)"))                (when (fboundp 'tex-guess-main-file)
165                  (setq latexenc-main-file (tex-guess-main-file))))                  (let ((tex-start-of-header "\\\\document\\(style\\|class\\)"))
166                      (setq latexenc-main-file (tex-guess-main-file)))))
167              ;; if we found a master/main file get the coding system from it              ;; if we found a master/main file get the coding system from it
168              (if (and latexenc-main-file              (if (and latexenc-main-file
169                       (file-readable-p latexenc-main-file))                       (file-readable-p latexenc-main-file))

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26