diff options
| author | Stefan Monnier | 2005-06-06 18:13:21 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-06-06 18:13:21 +0000 |
| commit | ed975fa61af284173b5490cdc119484c6a200ce3 (patch) | |
| tree | 71187875bb664552b3a5a9fd0d3536a1161e8546 | |
| parent | e43cbeae69c62d0fd1de362cdf154623322ad059 (diff) | |
| download | emacs-ed975fa61af284173b5490cdc119484c6a200ce3.tar.gz emacs-ed975fa61af284173b5490cdc119484c6a200ce3.zip | |
(latexenc-find-file-coding-system):
Undo part of last patch, to turn off a compiler warning.
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/international/latexenc.el | 9 |
2 files changed, 14 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6d6996b2f54..8c0c26c09fe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * international/latexenc.el (latexenc-find-file-coding-system): | ||
| 4 | Undo part of last patch, to turn off a compiler warning. | ||
| 5 | |||
| 1 | 2005-06-06 Juri Linkov <juri@jurta.org> | 6 | 2005-06-06 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * tmm.el (tmm-inactive, tmm-remove-inactive-mouse-face): | 8 | * tmm.el (tmm-inactive, tmm-remove-inactive-mouse-face): |
| @@ -12,8 +17,8 @@ | |||
| 12 | * emulation/cua-base.el (cua-rectangle, cua-rectangle-noselect) | 17 | * emulation/cua-base.el (cua-rectangle, cua-rectangle-noselect) |
| 13 | (cua-global-mark): Remove -face suffix from face names. | 18 | (cua-global-mark): Remove -face suffix from face names. |
| 14 | 19 | ||
| 15 | * emulation/cua-gmrk.el (cua--init-global-mark): Remove | 20 | * emulation/cua-gmrk.el (cua--init-global-mark): |
| 16 | cua-global-mark face setup. | 21 | Remove cua-global-mark face setup. |
| 17 | 22 | ||
| 18 | 2005-06-06 Richard M. Stallman <rms@gnu.org> | 23 | 2005-06-06 Richard M. Stallman <rms@gnu.org> |
| 19 | 24 | ||
| @@ -132,7 +137,7 @@ | |||
| 132 | (iswitchb-current-match-face, iswitchb-virtual-matches-face) | 137 | (iswitchb-current-match-face, iswitchb-virtual-matches-face) |
| 133 | (iswitchb-invalid-regexp-face): New faces. | 138 | (iswitchb-invalid-regexp-face): New faces. |
| 134 | (iswitchb-completions): Use them. | 139 | (iswitchb-completions): Use them. |
| 135 | (iswitchb-use-faces): Renamed from iswitchb-use-fonts, which is | 140 | (iswitchb-use-faces): Rename from iswitchb-use-fonts, which is |
| 136 | now marked as an obsolete alias. | 141 | now marked as an obsolete alias. |
| 137 | (iswitchb-read-buffer): Remove check for bound font variables. | 142 | (iswitchb-read-buffer): Remove check for bound font variables. |
| 138 | (iswitchb-invalid-regexp): New free variable. | 143 | (iswitchb-invalid-regexp): New free variable. |
| @@ -239,8 +244,7 @@ | |||
| 239 | (gdb-info-breakpoints-custom, gdb-delete-breakpoint) | 244 | (gdb-info-breakpoints-custom, gdb-delete-breakpoint) |
| 240 | (gdb-goto-breakpoint, gdb-source-info, gdb-get-location) | 245 | (gdb-goto-breakpoint, gdb-source-info, gdb-get-location) |
| 241 | (gdb-assembler-custom): Improve regexps. | 246 | (gdb-assembler-custom): Improve regexps. |
| 242 | (def-gdb-auto-update-handler): Use window point to preserve | 247 | (def-gdb-auto-update-handler): Use window point to preserve point. |
| 243 | point. | ||
| 244 | 248 | ||
| 245 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> | 249 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
| 246 | 250 | ||
diff --git a/lisp/international/latexenc.el b/lisp/international/latexenc.el index 24f7ebc6000..7568c4aa39a 100644 --- a/lisp/international/latexenc.el +++ b/lisp/international/latexenc.el | |||
| @@ -159,10 +159,11 @@ coding system names is determined from `latex-inputenc-coding-alist'." | |||
| 159 | (setq latexenc-main-file (concat file ext))))))) | 159 | (setq latexenc-main-file (concat file ext))))))) |
| 160 | ;; try tex-modes tex-guess-main-file | 160 | ;; try tex-modes tex-guess-main-file |
| 161 | (when (and (not latexenc-dont-use-tex-guess-main-file-flag) | 161 | (when (and (not latexenc-dont-use-tex-guess-main-file-flag) |
| 162 | (not latexenc-main-file) | 162 | (not latexenc-main-file)) |
| 163 | (fboundp 'tex-guess-main-file)) | 163 | ;; Use a separate `when' so the byte-compiler sees the fboundp. |
| 164 | (let ((tex-start-of-header "\\\\document\\(style\\|class\\)")) | 164 | (when (fboundp 'tex-guess-main-file) |
| 165 | (setq latexenc-main-file (tex-guess-main-file)))) | 165 | (let ((tex-start-of-header "\\\\document\\(style\\|class\\)")) |
| 166 | (setq latexenc-main-file (tex-guess-main-file))))) | ||
| 166 | ;; if we found a master/main file get the coding system from it | 167 | ;; if we found a master/main file get the coding system from it |
| 167 | (if (and latexenc-main-file | 168 | (if (and latexenc-main-file |
| 168 | (file-readable-p latexenc-main-file)) | 169 | (file-readable-p latexenc-main-file)) |