summaryrefslogtreecommitdiff
path: root/bookmark-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-18 22:29:57 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-18 22:29:57 +0800
commit761b527a83cf37f821f4b687c2614175aab1387b (patch)
tree44269538d8c5766fc4948106510fdd1758902d61 /bookmark-conf.el
parent5e5d32cfddbf4a312c246eb7e81b617db5adb252 (diff)
ibuffer: protect buffers
* ibuffer.el (durand-default-clear-passlist, durand-clear-passlist): Add a default value variable. (durand-reset-clearlist): Add a function to reset since we are starting to manipulate this variable. (durand-born-equal): Buffer-OR-Name equal. (durand-ibuffer-clear): Make sure the dashboard buffer is correctly recentered, even if it is not displayed right after the clearing operation. (durand-ibuffer-reset-marks): Reset the mark of the current line if this mark is added "automagically" by the macro which defines an ibuffer operation. (durand-ibuffer-restore-mark-before-advice): Check if there are no marks before the operation. In this case a mark will be "automagically" added, and we need to remove that mark later. (ibuffer-do-protect): Protect marked buffers so that they will not be cleared automatically. (ibuffer-do-unprotect): Unprotect the buffers so we can clear them quickly again. (ibuffer-mode-map): Bind the operations. (durand-directory): Modify this filter so that it works correctly.
Diffstat (limited to 'bookmark-conf.el')
0 files changed, 0 insertions, 0 deletions