summaryrefslogtreecommitdiff
path: root/ibuffer.el
diff options
context:
space:
mode:
Diffstat (limited to 'ibuffer.el')
-rw-r--r--ibuffer.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/ibuffer.el b/ibuffer.el
index e2d7932..4d72bb0 100644
--- a/ibuffer.el
+++ b/ibuffer.el
@@ -438,6 +438,7 @@ value of `default-directory' in that buffer."
(cons "RS" '((or
(mode . rustic-mode)
(mode . rust-mode))))
+ (cons "TeX" '((derived-mode . tex-mode)))
(cons "C" '((mode . c-mode)))
(cons "ELisp" '((mode . emacs-lisp-mode)))
(cons "EWW" '((mode . eww-mode)))
@@ -466,7 +467,11 @@ value of `default-directory' in that buffer."
(remove-hook 'post-command-hook #'durand-export-buffers-select)
(cond ((timerp timer) (cancel-timer timer)))
(display-buffer durand-export-buffers-name
- (list (list #'display-buffer-same-window))))
+ (list (list #'display-buffer-same-window)))
+ (with-current-buffer durand-export-buffers-name
+ (advice-add #'message :override #'ignore)
+ (ibuffer-update nil)
+ (advice-remove #'message #'ignore)))
(defun durand-export-buffers ()
"Export buffers into an IBuffer buffer."