mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(hexl-find-file): Bind default-major-mode' to
fundamental-mode'.
This commit is contained in:
parent
582a857ccc
commit
45e8e6e75e
@ -1,3 +1,8 @@
|
||||
2003-04-17 John Paul Wallington <jpw@gnu.org>
|
||||
|
||||
* hexl.el (hexl-find-file): Bind `default-major-mode' to
|
||||
`fundamental-mode'.
|
||||
|
||||
2003-04-16 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* international/mule-cmds.el (describe-language-environment): At
|
||||
|
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user