summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/emacs.el
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-09-08 13:25:32 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-09-08 13:25:32 +0200
commitb417b44757c688ed9df71241d0721ce86fdc9a13 (patch)
tree741280ea73f7939eb84039defd7761b4b65d063c /accounts/gkleen@sif/emacs.el
parentb626d646d98e5d6cf6102bfc0c26cd7cb3f57676 (diff)
downloadnixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar.gz
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar.bz2
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.tar.xz
nixos-b417b44757c688ed9df71241d0721ce86fdc9a13.zip
...
Diffstat (limited to 'accounts/gkleen@sif/emacs.el')
-rw-r--r--accounts/gkleen@sif/emacs.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el
index 52dd551a..a2288bf9 100644
--- a/accounts/gkleen@sif/emacs.el
+++ b/accounts/gkleen@sif/emacs.el
@@ -79,6 +79,15 @@
79 ) 79 )
80(add-hook 'js-mode-hook 'my-js-mode-hook) 80(add-hook 'js-mode-hook 'my-js-mode-hook)
81 81
82(defun anansi-mode-hook ()
83 (setq indent-tabs-mode nil)
84 )
85(define-derived-mode anansi-mode
86 markdown-mode "Anansi"
87 "Major mode for anansi"
88 'anansi-mode-hook)
89(add-to-list 'auto-mode-alist '("\\.anansi\\'" . anansi-mode))
90
82(setq undo-tree-auto-save-history t) 91(setq undo-tree-auto-save-history t)
83 92
84(defvar expand-file-name-custom-tilde-alist '(("u2w-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/uni2work") ("fra-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/fradrive"))) 93(defvar expand-file-name-custom-tilde-alist '(("u2w-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/uni2work") ("fra-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/fradrive")))