summaryrefslogtreecommitdiff
path: root/lisp/arc-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-08-28 17:02:53 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-08-28 17:02:53 +0000
commit14acf2f55e96b3d01cd4f42508313a87d01c65cf (patch)
tree70cd72663c338877f2071ce88c562a17968afb20 /lisp/arc-mode.el
parent72f16325c1807f5e822c2eb76e10392630842d39 (diff)
downloademacs-14acf2f55e96b3d01cd4f42508313a87d01c65cf.tar.gz
* 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.
Diffstat (limited to 'lisp/arc-mode.el')
-rw-r--r--lisp/arc-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index e812a47ddc6..6e65d64bb81 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -638,7 +638,7 @@ archive.
;; mode on and off. You can corrupt things that way.
(if (zerop (buffer-size))
;; At present we cannot create archives from scratch
- (funcall default-major-mode)
+ (funcall (default-value 'major-mode))
(if (and (not force) archive-files) nil
(let* ((type (archive-find-type))
(typename (capitalize (symbol-name type))))