diff options
author | John Paul Wallington <jpw@pobox.com> | 2003-04-17 02:41:12 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2003-04-17 02:41:12 +0000 |
commit | 45e8e6e75e85819ac82b480f284a78d306d74113 (patch) | |
tree | 2056fbb234f26080f9745e0f842c775ad1e97ea3 /lisp/hexl.el | |
parent | 582a857cccc54db98380937463bfe3b991ee58ea (diff) | |
download | emacs-45e8e6e75e85819ac82b480f284a78d306d74113.tar.gz |
(hexl-find-file): Bind `default-major-mode' to `fundamental-mode'.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r-- | lisp/hexl.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." (let ((completion-ignored-extensions nil)) (read-file-name "Filename: " nil nil 'ret-must-match)))) ;; Ignore the user's setting of default-major-mode. - (let ((default-major-mode 'hexl-mode)) + (let ((default-major-mode 'fundamental-mode)) (find-file-literally filename)) (if (not (eq major-mode 'hexl-mode)) (hexl-mode))) |