aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/hexl.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <[email protected]>2003-04-17 02:41:12 +0000
committerJohn Paul Wallington <[email protected]>2003-04-17 02:41:12 +0000
commit45e8e6e75e85819ac82b480f284a78d306d74113 (patch)
tree2056fbb234f26080f9745e0f842c775ad1e97ea3 /lisp/hexl.el
parent582a857cccc54db98380937463bfe3b991ee58ea (diff)
(hexl-find-file): Bind `default-major-mode' to `fundamental-mode'.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r--lisp/hexl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index f34c0f5dc4..e4f6423bb8 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)))