* lisp/textmodes/tex-mode.el: Ensure uncompiled file is loadable.
This commit is contained in:
parent
b178870528
commit
c2a88ec8e8
1 changed files with 4 additions and 3 deletions
|
@ -1014,9 +1014,10 @@ Inherits `shell-mode-map' with a few additions.")
|
|||
;; This is a) ugly, and b) cheating, but this was the last
|
||||
;; remaining warning from byte-compiling all of Emacs...
|
||||
(eval-when-compile
|
||||
(setq byte-compile-function-environment
|
||||
(delq (assq 'tex-mode byte-compile-function-environment)
|
||||
byte-compile-function-environment)))
|
||||
(if (boundp 'byte-compile-function-environment)
|
||||
(setq byte-compile-function-environment
|
||||
(delq (assq 'tex-mode byte-compile-function-environment)
|
||||
byte-compile-function-environment))))
|
||||
|
||||
;;;###autoload
|
||||
(defun tex-mode ()
|
||||
|
|
Loading…
Add table
Reference in a new issue