From: Eli Zaretskii Date: Sat, 2 Jul 2016 16:30:01 +0000 (+0300) Subject: ; * etc/NEWS: Document how to avoid horizontal scroll bars. X-Git-Tag: emacs-25.1-rc1~48 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bb9e6c;p=emacs.git ; * etc/NEWS: Document how to avoid horizontal scroll bars. --- 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.