aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/hexl.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d23f77dfa18..9ed500a2772 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12003-04-17 John Paul Wallington <jpw@gnu.org>
2
3 * hexl.el (hexl-find-file): Bind `default-major-mode' to
4 `fundamental-mode'.
5
12003-04-16 Kenichi Handa <handa@m17n.org> 62003-04-16 Kenichi Handa <handa@m17n.org>
2 7
3 * international/mule-cmds.el (describe-language-environment): At 8 * international/mule-cmds.el (describe-language-environment): At
diff --git a/lisp/hexl.el b/lisp/hexl.el
index f34c0f5dc49..e4f6423bb8a 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -297,7 +297,7 @@ Switch to a buffer visiting file FILENAME, creating one in none exists."
297 (let ((completion-ignored-extensions nil)) 297 (let ((completion-ignored-extensions nil))
298 (read-file-name "Filename: " nil nil 'ret-must-match)))) 298 (read-file-name "Filename: " nil nil 'ret-must-match))))
299 ;; Ignore the user's setting of default-major-mode. 299 ;; Ignore the user's setting of default-major-mode.
300 (let ((default-major-mode 'hexl-mode)) 300 (let ((default-major-mode 'fundamental-mode))
301 (find-file-literally filename)) 301 (find-file-literally filename))
302 (if (not (eq major-mode 'hexl-mode)) 302 (if (not (eq major-mode 'hexl-mode))
303 (hexl-mode))) 303 (hexl-mode)))