aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org
diff options
context:
space:
mode:
authorStefan Monnier2009-08-28 17:02:53 +0000
committerStefan Monnier2009-08-28 17:02:53 +0000
commit14acf2f55e96b3d01cd4f42508313a87d01c65cf (patch)
tree70cd72663c338877f2071ce88c562a17968afb20 /lisp/org
parent72f16325c1807f5e822c2eb76e10392630842d39 (diff)
downloademacs-14acf2f55e96b3d01cd4f42508313a87d01c65cf.tar.gz
emacs-14acf2f55e96b3d01cd4f42508313a87d01c65cf.zip
* 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/org')
-rw-r--r--lisp/org/ChangeLog6
-rw-r--r--lisp/org/org-docbook.el4
-rw-r--r--lisp/org/org-html.el2
3 files changed, 9 insertions, 3 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 82010dc1493..f5efef377cf 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,9 @@
12009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * org-html.el (org-export-as-html):
4 * org-docbook.el (org-export-as-docbook):
5 Use (default-value 'major-mode) instead of default-major-mode.
6
12009-08-08 Carsten Dominik <carsten.dominik@gmail.com> 72009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
2 8
3 * org-docbook.el: Add arch-tag. 9 * org-docbook.el: Add arch-tag.
diff --git a/lisp/org/org-docbook.el b/lisp/org/org-docbook.el
index 8d47b552e5d..38af0803434 100644
--- a/lisp/org/org-docbook.el
+++ b/lisp/org/org-docbook.el
@@ -9,7 +9,7 @@
9;; Maintainer: Baoqiu Cui <cbaoqiu AT yahoo DOT com> 9;; Maintainer: Baoqiu Cui <cbaoqiu AT yahoo DOT com>
10;; Keywords: org, wp, docbook 10;; Keywords: org, wp, docbook
11;; Description: Converts an org-mode buffer into DocBook 11;; Description: Converts an org-mode buffer into DocBook
12;; $Id: org-docbook.el,v 1.2 2009/08/08 02:33:22 gm Exp $ 12;; $Id: org-docbook.el,v 1.3 2009/08/08 12:18:56 cdominik Exp $
13;; URL: 13;; URL:
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
@@ -1102,7 +1102,7 @@ publishing directory."
1102 1102
1103 (unless (plist-get opt-plist :buffer-will-be-killed) 1103 (unless (plist-get opt-plist :buffer-will-be-killed)
1104 (normal-mode) 1104 (normal-mode)
1105 (if (eq major-mode default-major-mode) 1105 (if (eq major-mode (default-value 'major-mode))
1106 (nxml-mode))) 1106 (nxml-mode)))
1107 1107
1108 ;; Remove empty paragraphs and lists. Replace them with a 1108 ;; Remove empty paragraphs and lists. Replace them with a
diff --git a/lisp/org/org-html.el b/lisp/org/org-html.el
index 35eb45ab179..3170f3ae07c 100644
--- a/lisp/org/org-html.el
+++ b/lisp/org/org-html.el
@@ -1419,7 +1419,7 @@ lang=\"%s\" xml:lang=\"%s\">
1419 1419
1420 (unless (plist-get opt-plist :buffer-will-be-killed) 1420 (unless (plist-get opt-plist :buffer-will-be-killed)
1421 (normal-mode) 1421 (normal-mode)
1422 (if (eq major-mode default-major-mode) (html-mode))) 1422 (if (eq major-mode (default-value 'major-mode)) (html-mode)))
1423 1423
1424 ;; insert the table of contents 1424 ;; insert the table of contents
1425 (goto-char (point-min)) 1425 (goto-char (point-min))