diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-20 22:39:17 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-20 22:39:17 +1000 |
commit | 880517b4798e201c22e3d318c21b492fe676154b (patch) | |
tree | 2a590031383418ad0f2adcc64c5be94b4b6d62e8 /emacs/.emacs.d/lisp/my | |
parent | 3b48109e4502c7ab26200c0418b8d72af9ae627c (diff) |
Some small fixes
- bbdb: integration with gnus and message
- disable tree-sitter for c-mode
- my-buffer-quick-major-mode: switch rather than pop to buffer
- rofi config: comment timeout and filebrowser due to issues with
lower versions
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-buffer.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-buffer.el b/emacs/.emacs.d/lisp/my/my-buffer.el index 5ff09a7..63b16be 100644 --- a/emacs/.emacs.d/lisp/my/my-buffer.el +++ b/emacs/.emacs.d/lisp/my/my-buffer.el @@ -81,7 +81,7 @@ With a prefix-arg, prompt for major mode." (not (derived-mode-p mode)))) (setq buffers (cdr buffers))) (if buffers - (pop-to-buffer (car buffers)) + (switch-to-buffer (car buffers)) (message "No buffers in %S" mode)))) (defun my-buffer-switch-or-create-major-mode (mode) |