summaryrefslogtreecommitdiff
path: root/nemacs-hooks.el
diff options
context:
space:
mode:
Diffstat (limited to 'nemacs-hooks.el')
-rw-r--r--nemacs-hooks.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/nemacs-hooks.el b/nemacs-hooks.el
new file mode 100644
index 0000000..754e58a
--- /dev/null
+++ b/nemacs-hooks.el
@@ -0,0 +1,10 @@
+;; HTML-mode
+(add-hook 'html-mode-hook
+ (lambda ()
+ (set (make-local-variable 'sgml-basic-offset) 4)))
+
+;; Org Mode
+(setq org-latex-compiler nm/user/latex-compiler
+ org-export-with-smart-quotes t)
+
+(provide 'nemacs-hooks)