From 5bb9e6ce6f27d27ed3ad1e22e9c2ffdb3e7b23d9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Jul 2016 19:30:01 +0300 Subject: [PATCH] ; * etc/NEWS: Document how to avoid horizontal scroll bars. --- etc/NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index e649c787cd1..eff17ee9d0b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1886,6 +1886,15 @@ scroll bars on the selected frame. 'scroll-bar-height' to set horizontal scroll bars and their height for individual frames and in 'default-frame-alist'. +***** The 'horizontal-scroll-bars' parameter was already present and non-nil +by default in Emacs 24 (although it didn't have any effect). This +could cause a problem if you share your desktop files with Emacs 24: +saving desktop in v24, then restoring it in v25.1 would turn on +horizontal scroll bars in all buffers. To resolve this issue, put +this in your ~/.emacs init file + + (modify-all-frames-parameters '((horizontal-scroll-bars . nil))) + **** New functions 'frame-scroll-bar-height' and 'window-scroll-bar-height' return the height of horizontal scroll bars on a specific frame or window. -- 2.39.2