diff options
author | JSDurand <mmemmew@gmail.com> | 2024-04-15 14:49:50 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2024-04-15 14:49:50 +0800 |
commit | 9728bb8605265b7f5c32eeb26360543c3bcae72a (patch) | |
tree | 9fa5be5cdafaba932aa0c8b32379fa7939aa6c09 /ibuffer.el | |
parent | f5a9a4c85e2d4bc646a868914ad334c5e8af7ea7 (diff) |
ibuffer: modify the clear function
* ibuffer.el (durand-ibuffer-clear): Put the cursor at the correct
position in the dashboard buffer.
Diffstat (limited to 'ibuffer.el')
-rw-r--r-- | ibuffer.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -195,8 +195,8 @@ derived modes of `ibuffer-mode'."))) (mapcar #'car (ibuffer-current-state-list)))) (let ((current (current-buffer))) (pop-to-buffer dashboard-buffer-name '((display-buffer-same-window))) - (goto-char (point-max)) - (recenter -1) + (goto-char (point-min)) + (recenter 0) (pop-to-buffer current '((display-buffer-same-window))))) (t (mapc (function |