aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-07-04 18:09:56 +1000
committerYuchen Pei <id@ypei.org>2023-07-04 18:09:56 +1000
commitaed743e7344da16a3824779cdb0f7f901f84d87e (patch)
treec1fc4e4f75db1835f3e2b536a14451a75c3c1c79
parente1640aa343f3b7c050ad525b508cea2ee9a48ce4 (diff)
minor change
-rw-r--r--emacs/.emacs.d/lisp/my/my-buffer.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-buffer.el b/emacs/.emacs.d/lisp/my/my-buffer.el
index abe007f..a8be324 100644
--- a/emacs/.emacs.d/lisp/my/my-buffer.el
+++ b/emacs/.emacs.d/lisp/my/my-buffer.el
@@ -112,7 +112,8 @@ With two prefixes: create a buffer of the chosen major mode."
(provided-mode-derived-p
sym
'text-mode 'prog-mode
- 'comint-mode 'special-mode))
+ 'comint-mode 'special-mode
+ 'diff-mode))
collect sym))))
(defun my-buffer-create-major-mode (mode)