diff options
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-buffer.el | 3 |
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) |