diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2022-12-19 02:40:50 +0100 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2022-12-19 02:40:50 +0100 |
commit | 03648965a027b1a0aa46a2ebfa0dab78ef49b200 (patch) | |
tree | f96977daceea335145193cc408e61c55c92c21b4 /test/lisp/emacs-lisp/cl-lib-tests.el | |
parent | 79e1bff2694444a27036b08e8fa2a6619b40dc2a (diff) | |
download | emacs-03648965a027b1a0aa46a2ebfa0dab78ef49b200.tar.gz emacs-03648965a027b1a0aa46a2ebfa0dab78ef49b200.tar.bz2 emacs-03648965a027b1a0aa46a2ebfa0dab78ef49b200.zip |
bs.el: Use the right buffer context to compute the mode name
* lisp/bs.el (bs--get-mode-name): The function is already called
with the correct buffer as current-buffer; and anyway, START-BUFFER
is usually the wrong one to pass to `format-mode-line'. This fixes
a bug introduced in 48d33090d0 and c2699583be (back in 2008-01-04).
Diffstat (limited to 'test/lisp/emacs-lisp/cl-lib-tests.el')
0 files changed, 0 insertions, 0 deletions