diff options
| author | Glenn Morris | 2017-12-14 22:01:32 -0800 |
|---|---|---|
| committer | Glenn Morris | 2017-12-14 22:01:32 -0800 |
| commit | c2a88ec8e8f3246c0f5051b208337205f7f96cca (patch) | |
| tree | 4ea5d808b2edda4c6942b51322de2b649e9edbe0 | |
| parent | b1788705284048382a3ef51783525b37e5443b1f (diff) | |
| download | emacs-c2a88ec8e8f3246c0f5051b208337205f7f96cca.tar.gz emacs-c2a88ec8e8f3246c0f5051b208337205f7f96cca.zip | |
* lisp/textmodes/tex-mode.el: Ensure uncompiled file is loadable.
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index f228e28b740..432a779b4a8 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -1014,9 +1014,10 @@ Inherits `shell-mode-map' with a few additions.") | |||
| 1014 | ;; This is a) ugly, and b) cheating, but this was the last | 1014 | ;; This is a) ugly, and b) cheating, but this was the last |
| 1015 | ;; remaining warning from byte-compiling all of Emacs... | 1015 | ;; remaining warning from byte-compiling all of Emacs... |
| 1016 | (eval-when-compile | 1016 | (eval-when-compile |
| 1017 | (setq byte-compile-function-environment | 1017 | (if (boundp 'byte-compile-function-environment) |
| 1018 | (delq (assq 'tex-mode byte-compile-function-environment) | 1018 | (setq byte-compile-function-environment |
| 1019 | byte-compile-function-environment))) | 1019 | (delq (assq 'tex-mode byte-compile-function-environment) |
| 1020 | byte-compile-function-environment)))) | ||
| 1020 | 1021 | ||
| 1021 | ;;;###autoload | 1022 | ;;;###autoload |
| 1022 | (defun tex-mode () | 1023 | (defun tex-mode () |