mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Don't set bufbar cursor-type in erc-mode buffers
* lisp/erc/erc-status-sidebar.el (erc-status-sidebar-get-window): Set `cursor-type' in `erc-status-sidebar-mode' buffer instead. This bug was introduced along with the bufbar module for bug#63595 in ERC 5.6. It's a regression because it also affects the status-sidebar module.
This commit is contained in:
parent
40219c39a1
commit
45ffc0e102
1 changed files with 2 additions and 2 deletions
|
|
@ -186,13 +186,13 @@ If NO-CREATION is non-nil, the window is not created."
|
|||
erc-status-sidebar--singular-p)))
|
||||
(unless (or sidebar-window no-creation)
|
||||
(with-current-buffer (erc-status-sidebar-get-buffer)
|
||||
(setq-local vertical-scroll-bar nil))
|
||||
(setq vertical-scroll-bar nil
|
||||
cursor-type nil))
|
||||
(setq sidebar-window (erc-status-sidebar-display-window))
|
||||
(set-window-dedicated-p sidebar-window t)
|
||||
(set-window-parameter sidebar-window 'no-delete-other-windows t)
|
||||
;; Don't cycle to this window with `other-window'.
|
||||
(set-window-parameter sidebar-window 'no-other-window t)
|
||||
(setq cursor-type nil)
|
||||
(set-window-fringes sidebar-window 0 0)
|
||||
;; Set a custom display table so the window doesn't show a
|
||||
;; truncation symbol when a channel name is too big.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue