[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/olivetti 48874ef 045/134: Hiding mode-line seems to wor
From: |
Stefan Monnier |
Subject: |
[elpa] externals/olivetti 48874ef 045/134: Hiding mode-line seems to work without frame redrawing |
Date: |
Thu, 25 Apr 2019 09:57:25 -0400 (EDT) |
branch: externals/olivetti
commit 48874ef0fba68e4896a5cb767566ada81a90b224
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>
Hiding mode-line seems to work without frame redrawing
---
olivetti.el | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/olivetti.el b/olivetti.el
index 32828b3..eeafaee 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -111,9 +111,12 @@ This option does not affect file contents."
:type 'integer
:group 'olivetti)
-(defcustom olivetti-hide-mode-line nil
- "Hide the mode line.
-Can cause display issues in console mode."
+(defcustom olivetti-hide-mode-line
+ nil
+ "Hide the mode line."
+ :type 'boolean
+ :group 'olivetti)
+
(defcustom olivetti-recall-visual-line-mode-entry-state
t
"Recall the state of `visual-line-mode' upon exiting.
@@ -137,7 +140,7 @@ exiting. The reverse is not true."
If ARG is 'toggle, toggle the value of `olivetti-hide-mode-line',
then rerun. If ARG is 'exit, kill `mode-line-format' then rerun.
If ARG is nil and `olivetti-hide-mode-line' is non-nil, hide the
-mode line. Finally redraw the frame."
+mode line."
(cond ((equal arg 'toggle)
(setq olivetti-hide-mode-line
(null olivetti-hide-mode-line))
@@ -146,8 +149,8 @@ mode line. Finally redraw the frame."
(null olivetti-hide-mode-line))
(kill-local-variable 'mode-line-format))
(olivetti-hide-mode-line
- (setq-local mode-line-format nil)))
- (redraw-frame (selected-frame)))
+ (setq-local mode-line-format nil))))
+ ;; (redraw-frame (selected-frame)))
(defun olivetti-scale-width (n)
"Scale N in accordance with the face height.
- [elpa] externals/olivetti 7bf367c 105/134: Updated README/Commentary, (continued)
- [elpa] externals/olivetti 7bf367c 105/134: Updated README/Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 7eadbe7 108/134: Rewrite olivetti-safe-width for fringes, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti fc3b045 116/134: Readded window-configuration-change-hook, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti ff2b0a0 123/134: Change default body width to 70 (matches fill-column standard-value), Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti cb22f8a 127/134: Merge pull request #25 from Nielius/fix-scale-width, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 3859a4d 030/134: Added known bugs section to README/Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 16d0885 035/134: Fix "modeline" => "mode-line", Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 26e9da6 041/134: Use defvar-local, it's cleaner, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti d852e31 040/134: Merge pull request #8 from syohex/update-url, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti f629184 042/134: Merge branch 'master' of https://github.com/rnkn/olivetti, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 48874ef 045/134: Hiding mode-line seems to work without frame redrawing,
Stefan Monnier <=
- [elpa] externals/olivetti 6818914 047/134: Neatening docs, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 78ef7ae 046/134: Reset margins in all buffer windows, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 6933bf9 049/134: More neatening up, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 35654fe 054/134: Added note about temporary-overlay-map, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti d4fdf91 059/134: Fix for Emacs lexical binding standard-value bug, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti cdc9fc3 058/134: Merge pull request #11 from rnkn/lexical-binding, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti e095ee34 060/134: Function quoting, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti b4094d3 066/134: Added badges, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 3d057a5 073/134: Removed useless (let ...), Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 8556abb 078/134: Rearranging code for clarity, Stefan Monnier, 2019/04/25