* gnus/nnheader.el (nnheader-find-file-noselect):
* gnus/mm-util.el (mm-insert-file-contents): * org/org-html.el (org-export-as-html): * org/org-docbook.el (org-export-as-docbook): * textmodes/reftex.el (reftex-get-file-buffer-force): * progmodes/verilog-mode.el (verilog-batch-execute-func): * emulation/viper.el (viper-go-away, viper-set-hooks): * emacs-lisp/re-builder.el (re-builder-unload-function): * emacs-lisp/bytecomp.el (byte-compile-file): * ses.el (ses-unload-function): * hexl.el (hexl-find-file): * files.el (normal-mode): * ehelp.el (with-electric-help): * autoinsert.el (auto-insert-alist): * arc-mode.el (archive-mode): Use (default-value 'major-mode) instead of default-major-mode.
This commit is contained in:
parent
72f16325c1
commit
14acf2f55e
21 changed files with 94 additions and 67 deletions
|
@ -720,7 +720,7 @@ If SUBEXP is non-nil mark only the corresponding sub-expressions."
|
|||
(remove-hook 'kill-buffer-hook 'reb-kill-buffer t)
|
||||
(when (reb-mode-buffer-p)
|
||||
(reb-delete-overlays)
|
||||
(funcall default-major-mode))))
|
||||
(funcall (default-value 'major-mode)))))
|
||||
;; continue standard unloading
|
||||
nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue