aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorGregory Heytings2022-11-27 00:24:40 +0000
committerGregory Heytings2022-11-27 01:27:05 +0100
commit1d1a83ba56e56c2eda5a22b3ba2d8d9578271eee (patch)
tree3310fd986d4ce786215e98ead99a2310be05f5f3 /src/buffer.c
parent321d4e61551a0f6dfb1abfc0b54e6177735bde58 (diff)
downloademacs-1d1a83ba56e56c2eda5a22b3ba2d8d9578271eee.tar.gz
emacs-1d1a83ba56e56c2eda5a22b3ba2d8d9578271eee.zip
Improve handling of killed buffers in locked narrowings
* src/editfns.c (narrowing_locks_add, narrowing_locks_remove): New functions, factored out. (narrowing_lock_push, narrowing_lock_pop) (narrowing_locks_restore): Use the new functions. (narrowing_lock_get_bound): Return NULL for killed buffers. (reset_outermost_narrowings, unwind_reset_outermost_narrowing): Remove killed buffers from the 'narrowing_locks' alist.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions