summaryrefslogtreecommitdiff
path: root/nemacs-hooks.el
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2024-05-28 11:19:22 -0700
committerChristian Cunningham <cc@localhost>2024-05-28 11:19:22 -0700
commitf14c2d3fe50de3c55e7c9684e93cdf5608a00b89 (patch)
treea8ea3bdb68779ecdce6d7be8b7d8f56a9ff3b4c1 /nemacs-hooks.el
Initial Commit
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)