diff options
author | Vincent Ambo <mail@tazj.in> | 2023-12-02T19·42+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-12-02T20·58+0000 |
commit | 696d02ab160dd35f51ed19ed61cf13ffbf298597 (patch) | |
tree | 1e6544c94b8eedafeab47ee8a01e96d752da30b5 /users/tazjin/emacs/config/functions.el | |
parent | 3d618cdfdc4c3f74245370d294c0a1a49f38e92e (diff) |
chore(tazjin/emacs): minor configuration cleanups r/7109
Deletes some stuff that I think isn't necessary anymore, and consolidates the modes.el content into settings.el. Change-Id: Ib682dbdb4eb89b3a7ee2eca89da4151af806a508 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10187 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/functions.el')
-rw-r--r-- | users/tazjin/emacs/config/functions.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/tazjin/emacs/config/functions.el b/users/tazjin/emacs/config/functions.el index 234423be3986..d91627a88247 100644 --- a/users/tazjin/emacs/config/functions.el +++ b/users/tazjin/emacs/config/functions.el @@ -15,13 +15,13 @@ (goto-line target))) (setq-local display-line-numbers nil))) -;; These come from the emacs starter kit - (defun esk-add-watchwords () (font-lock-add-keywords nil '(("\\<\\(FIX\\(ME\\)?\\|TODO\\|DEBUG\\|HACK\\|REFACTOR\\|NOCOMMIT\\)" 1 font-lock-warning-face t)))) +(add-hook 'prog-mode-hook 'esk-add-watchwords) + (defun esk-sudo-edit (&optional arg) (interactive "p") (if (or arg (not buffer-file-name)) |