bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27091: Request: Toggle scroll bar on each window separately


From: martin rudalics
Subject: bug#27091: Request: Toggle scroll bar on each window separately
Date: Sat, 27 May 2017 11:06:58 +0200

> But it looks like switching buffers in a window whose vertical scroll
> bar has been disabled by a call to set-window-scroll-bars restores the
> scroll bar, unless I also set the buffer-local variable
> vertical-scroll-bars to nil.  What am I doing wrong?

Nothing, I presume.  ‘set-window-buffer’ calls set_window_scroll_bars
just like ‘set-window-scroll-bars’ called it before.  You should see the
same "problem" with fringes and margins.  I always hated the ideology of
buffer-local values that override window-local values but would not dare
to question it in public.

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]