aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-markdown.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/init-markdown.el')
-rw-r--r--modules/init-markdown.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/init-markdown.el b/modules/init-markdown.el
index b7032db..2ba6325 100644
--- a/modules/init-markdown.el
+++ b/modules/init-markdown.el
@@ -30,7 +30,16 @@
(goto-char (point-max))
(insert "\n"
"</body>\n"
- "</html>\n")))
+ "</html>\n"))
+
+ ;;----------------------------------------------------------------------------
+ ;; Define custom browser
+ ;;----------------------------------------------------------------------------
+ (defvar browse-url-generic-program)
+ (setq browse-url-generic-program "iceweasel-uxp")
+ (defadvice markdown-preview (around markdown-preview-in-chromium activate compile)
+ (let ((browse-url-browser-function #'browse-url-generic))
+ ad-do-it)))
(provide 'init-markdown)