]> git.eshelyaron.com Git - emacs.git/commit
bs.el: Janitorial work; most importantly use `special-mode`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 25 Mar 2025 18:06:32 +0000 (14:06 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 25 Mar 2025 19:08:22 +0000 (20:08 +0100)
commitad76411a3359bd8ecfc815bf86002f9a36c094a2
tree68151395be4593433fcf8df5c391726f75b8c955
parent49cd3f7f2a77dfb1782dabcf8d55bf4a6810df0e
bs.el: Janitorial work; most importantly use `special-mode`

* lisp/bs.el: Prefer # to quote function arguments.
(bs-mode-font-lock-keywords): Use backquote; quote face names; and use
a list of faces instead of two applications at the same spot.
(bs-sort-buffer-interns-are-last, bs-config--files-and-scratch)
(bs-configurations, bs--intern-show-never): Fix ^$-vs-\`\' confusion.
(bs-mode-map): Remove bindings made redundant by inheritance.
(bs--redisplay): Use `line-number-at-pos`.
(bs--goto-current-buffer): Use `regexp-opt`.
(bs-mode): Inherit from `special-mode`.
(bs--current-buffer, bs--up): Use `point-min`.
(bs--create-header-line): Remove redundant arg.

(cherry picked from commit bb62e435637c7422741189384fa89e2272caec5b)
lisp/bs.el