summaryrefslogtreecommitdiff
path: root/lisp/org/org-docbook.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/org-docbook.el')
-rw-r--r--lisp/org/org-docbook.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/org/org-docbook.el b/lisp/org/org-docbook.el
index 6d6e67528a0..37d13cfe1d6 100644
--- a/lisp/org/org-docbook.el
+++ b/lisp/org/org-docbook.el
@@ -4,7 +4,7 @@
;;
;; Emacs Lisp Archive Entry
;; Filename: org-docbook.el
-;; Version: 6.30c
+;; Version: 6.31a
;; Author: Baoqiu Cui <cbaoqiu AT yahoo DOT com>
;; Maintainer: Baoqiu Cui <cbaoqiu AT yahoo DOT com>
;; Keywords: org, wp, docbook
@@ -242,6 +242,11 @@ the variable to
:group 'org-export-docbook
:type 'string)
+;;; Hooks
+
+(defvar org-export-docbook-final-hook nil
+ "Hook run at the end of DocBook export, in the new buffer.")
+
;;; Autoload functions:
;;;###autoload
@@ -1123,6 +1128,7 @@ publishing directory."
(goto-char (point-max))
(unless body-only
(insert "</article>"))
+ (run-hooks 'org-export-docbook-final-hook)
(or to-buffer (save-buffer))
(goto-char (point-min))
(or (org-export-push-to-kill-ring "DocBook")