aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/international/mule.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2009-08-28 16:29:25 +0000
committerStefan Monnier <[email protected]>2009-08-28 16:29:25 +0000
commit72f16325c1807f5e822c2eb76e10392630842d39 (patch)
tree7b876e51d1f7abfe2fe5ec202d5d1361561a013e /lisp/international/mule.el
parentb59329e062ff932753112bee77771083cfd4770a (diff)
* textmodes/ispell.el (ispell-check-version, ispell-send-string):
* international/mule.el (load-with-code-conversion): * emacs-lisp/debug.el (debug): * ediff-vers.el (ediff-rcs-get-output-buffer): * dired.el (dired-internal-noselect): Don't let-bind default-major-mode around code that doesn't use it. E.g. buffer creation via get-buffer-create doesn't use it.
Diffstat (limited to 'lisp/international/mule.el')
-rw-r--r--lisp/international/mule.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 9cbec2f024..0a9d3c1da9 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -307,12 +307,9 @@ Return t if file exists."
(signal 'file-error (list "Cannot open load file" file)))
;; Read file with code conversion, and then eval.
(let* ((buffer
- ;; To avoid any autoloading, set default-major-mode to
- ;; fundamental-mode.
- (let ((default-major-mode 'fundamental-mode))
- ;; We can't use `generate-new-buffer' because files.el
- ;; is not yet loaded.
- (get-buffer-create (generate-new-buffer-name " *load*"))))
+ ;; We can't use `generate-new-buffer' because files.el
+ ;; is not yet loaded.
+ (get-buffer-create (generate-new-buffer-name " *load*")))
(load-in-progress t)
(source (save-match-data (string-match "\\.el\\'" fullname))))
(unless nomessage