aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/init-markdown.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-markdown.el b/lisp/init-markdown.el
index d8df04f..47ca803 100644
--- a/lisp/init-markdown.el
+++ b/lisp/init-markdown.el
@@ -11,6 +11,9 @@
;;----------------------------------------------------------------------------
;; Generated HTML 5 and UTF-8 with Markdown
;;----------------------------------------------------------------------------
+(eval-after-load "markdown-mode"
+ '(defalias 'markdown-add-xhtml-header-and-footer 'as/markdown-add-xhtml-header-and-footer))
+
(defun as/markdown-add-xhtml-header-and-footer (title)
"Wrap XHTML header and footer with given TITLE around current buffer."
(goto-char (point-min))