summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorLaurence Warne <laurencewarne@gmail.com>2022-12-03 21:41:57 +0000
committerEli Zaretskii <eliz@gnu.org>2022-12-14 16:32:10 +0200
commit7b8f3e00dd0ff1083f22d07b7ce3ecc3b5a6a032 (patch)
tree7ed4c0d36bcf01d4b20b8d5849cda6a0c6f13939 /lisp/emacs-lisp/byte-run.el
parent42c757913a4c6acc07f8904df7def6b720bb23b4 (diff)
downloademacs-7b8f3e00dd0ff1083f22d07b7ce3ecc3b5a6a032.tar.gz
emacs-7b8f3e00dd0ff1083f22d07b7ce3ecc3b5a6a032.tar.bz2
emacs-7b8f3e00dd0ff1083f22d07b7ce3ecc3b5a6a032.zip
Make proced-update preserve refinements
Make proced-update preserve refinements by creating a new buffer local variable proced-refinements which stores information about the current refinements and is used by proced-update to further refine proced-process-alist in the case it is non-nil. The result is that refinements are not immediately cleared when a proced buffer is updated with proced-auto-update-flag non-nil. proced-revert maintains its current behaviour of clearing any active refinements. * lisp/proced.el (proced-refinements): New buffer local variable which tracks the current refinements. (proced-refine): Set 'proced-refinements' variable and defer setting of 'proced-process-alist' to 'proced-update'. (proced-update): Take into account 'proced-refinements' when setting 'proced-process-alist'. (proced-revert): Set 'proced-refinements' to nil prior to calling 'proced-update'.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions