summaryrefslogtreecommitdiff
path: root/battery-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-11-17 23:07:13 +0800
committerJSDurand <mmemmew@gmail.com>2022-11-17 23:07:13 +0800
commit453fa79ea92070df959e6e913ee89737663b8d95 (patch)
tree6e29981c7f8cbf4059356a77d1980f709b006669 /battery-conf.el
parent983bf3a1725ed7eb8df6973ca1393e75d3eb68e4 (diff)
basic: stop creating a scratch buffer when not demanded
* basic.el (durand-read-buffer-to-switch, #'read-buffer-to-switch): The default behaviour of read-buffer-to-switch creates a scratch buffer, if there is no other good buffer to switch to. But this is not what I demand, and is oft a surprise to me. If there is no other buffer to switch to, just present me with the current buffer. The modified version does just this.
Diffstat (limited to 'battery-conf.el')
0 files changed, 0 insertions, 0 deletions