[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/olivetti 6818914 047/134: Neatening docs
From: |
Stefan Monnier |
Subject: |
[elpa] externals/olivetti 6818914 047/134: Neatening docs |
Date: |
Thu, 25 Apr 2019 09:57:26 -0400 (EDT) |
branch: externals/olivetti
commit 68189141aa1ddb2c2c945874811c8816e1c37705
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>
Neatening docs
---
olivetti.el | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/olivetti.el b/olivetti.el
index 877733a..9c83370 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -137,8 +137,12 @@ exiting. The reverse is not true."
(defun olivetti-set-mode-line (&optional arg)
"Set the mode line formating appropriately.
+
If ARG is 'toggle, toggle the value of `olivetti-hide-mode-line',
-then rerun. If ARG is 'exit, kill `mode-line-format' then rerun.
+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."
(cond ((equal arg 'toggle)
@@ -199,9 +203,14 @@ fraction of the window width."
(defun olivetti-set-environment (&optional arg)
"Set text body width to `olivetti-body-width' with relative margins.
-Cycle through all windows displaying the current buffer, first
-finding the `olivetti-safe-width' to which to set
-`olivetti-body-width', then find the appropriate margin size
+
+Cycle through all windows displaying current buffer and:
+
+If ARG is 'exit then cycle through all windows displaying the
+current buffer and set window margins to nil.
+
+If ARG is nil, first find the `olivetti-safe-width' to which to
+set `olivetti-body-width', then find the appropriate margin size
relative to each window. Finally set the window margins, taking
care that the maximum size is 0."
(dolist (window (get-buffer-window-list (current-buffer) nil t))
- [elpa] externals/olivetti 7eadbe7 108/134: Rewrite olivetti-safe-width for fringes, (continued)
- [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, 2019/04/25
- [elpa] externals/olivetti 6818914 047/134: Neatening docs,
Stefan Monnier <=
- [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
- [elpa] externals/olivetti ff058b9 084/134: new file: screenshots/01.png, Stefan Monnier, 2019/04/25