Add customisation for 'htmlize'.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 13 Oct 2012 12:08:02 +0300
changeset 958 f93fa1c0f480
parent 957 15fc17674517
child 964 9382e2dce0ed
Add customisation for 'htmlize'.
.emacs-my
--- a/.emacs-my	Fri Oct 12 18:38:17 2012 +0300
+++ b/.emacs-my	Sat Oct 13 12:08:02 2012 +0300
@@ -2271,6 +2271,15 @@
 (setq ecb-tip-of-the-day nil)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "htmlize")
+
+(setq
+ htmlize-html-charset "utf-8"
+ htmlize-output-type 'inline-css
+ htmlize-html-major-mode 'html-mode
+ htmlize-convert-nonascii-to-entities nil)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "html")
 
 (defun html-charref-escape-region (start end)