diff options
author | Kenichi Handa <handa@m17n.org> | 2010-11-01 16:53:08 +0900 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2010-11-01 16:53:08 +0900 |
commit | f6f3366160e26ff5984f287e60616ec9f90acfa3 (patch) | |
tree | 9f5c8dc73cad6319a8fdf1ab22fd4e9901089e50 /lisp/emacs-lisp/lisp-mode.el | |
parent | 65b6b59a8030b09d2a32ee88837a061e22751988 (diff) | |
parent | ca7c89d8f52b34f694031f496600f949640ff9c4 (diff) | |
download | emacs-f6f3366160e26ff5984f287e60616ec9f90acfa3.tar.gz emacs-f6f3366160e26ff5984f287e60616ec9f90acfa3.tar.bz2 emacs-f6f3366160e26ff5984f287e60616ec9f90acfa3.zip |
merge trunk
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index e4330e43fc9..ef639d6ec37 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -407,10 +407,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") (if (and (buffer-modified-p) (y-or-n-p (format "Save buffer %s first? " (buffer-name)))) (save-buffer)) - (let ((compiled-file-name (byte-compile-dest-file buffer-file-name))) - (if (file-newer-than-file-p compiled-file-name buffer-file-name) - (load-file compiled-file-name) - (byte-compile-file buffer-file-name t)))) + (byte-recompile-file buffer-file-name nil 0 t)) (defcustom emacs-lisp-mode-hook nil "Hook run when entering Emacs Lisp mode." |