summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shadow.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-11 19:36:01 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-11 19:36:12 +0800
commit6f57fb71a50a8b2ac8163828a2cecb394bb52d06 (patch)
tree02cbe006bbd8ec919f6bf3ed32a1fbd1d23048ac /lisp/emacs-lisp/shadow.el
parent2f823ffd28d064fc8c1a3947e74c512b577863c6 (diff)
downloademacs-6f57fb71a50a8b2ac8163828a2cecb394bb52d06.tar.gz
emacs-6f57fb71a50a8b2ac8163828a2cecb394bb52d06.tar.bz2
emacs-6f57fb71a50a8b2ac8163828a2cecb394bb52d06.zip
Improve behavior of `lost-selection-mode' with multiple buffers
* etc/NEWS: Announce new hook `post-select-region-hook'. * lisp/select.el (lost-selection-last-region-buffer): New variable. (lost-selection-post-select-region-function): New function. Deactivate the mark if the buffer changed. (lost-selection-mode): Add new hook. * src/keyboard.c (command_loop_1): Run that hook when appropriate. (syms_of_keyboard): New hook `post-select-region-hook'.
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
0 files changed, 0 insertions, 0 deletions