diff options
author | JSDurand <mmemmew@gmail.com> | 2021-12-18 22:29:57 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-12-18 22:29:57 +0800 |
commit | 761b527a83cf37f821f4b687c2614175aab1387b (patch) | |
tree | 44269538d8c5766fc4948106510fdd1758902d61 /subed-conf.el | |
parent | 5e5d32cfddbf4a312c246eb7e81b617db5adb252 (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 'subed-conf.el')
0 files changed, 0 insertions, 0 deletions