diff options
author | JSDurand <mmemmew@gmail.com> | 2021-08-09 23:59:02 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-08-09 23:59:02 +0800 |
commit | 6a63c63e877bebeed11b6a048c675cc503f2f5f8 (patch) | |
tree | 5c01d50afbd9e5dc3243850f32d0c6dd1c731a33 | |
parent | 71e3a7871d9493612e78152109d9e8aba49d39fb (diff) |
change: beautify the dashboard in durand-ibuffer-clear
* ibuffer.el (durand-ibuffer-clear): Place the point at the last
character and recenter to show the whole buffer nicely.
-rw-r--r-- | ibuffer.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -111,7 +111,11 @@ derived modes of `ibuffer-mode'."))) ((kill-buffer buffer))))) (cons (current-buffer) - (mapcar #'car (ibuffer-current-state-list))))) + (mapcar #'car (ibuffer-current-state-list)))) + (with-current-buffer dashboard-buffer-name + (let ((inhibit-message t)) + (goto-char (point-max)) + (recenter -1)))) (t (mapc (function (lambda (buffer-and-mark) |