diff options
Diffstat (limited to 'lisp/org')
| -rw-r--r-- | lisp/org/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/org/org-docbook.el | 4 | ||||
| -rw-r--r-- | lisp/org/org-html.el | 2 |
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 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com> | 7 | 2009-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)) |