[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/olivetti 6933bf9 049/134: More neatening up
From: |
Stefan Monnier |
Subject: |
[elpa] externals/olivetti 6933bf9 049/134: More neatening up |
Date: |
Thu, 25 Apr 2019 09:57:26 -0400 (EDT) |
branch: externals/olivetti
commit 6933bf99317285a247bcebee77ac9c7b303c59fc
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>
More neatening up
---
olivetti.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/olivetti.el b/olivetti.el
index fd113cb..1a3d0ad 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -158,6 +158,7 @@ mode line."
(defun olivetti-scale-width (n)
"Scale N in accordance with the face height.
+
For compatibility with `text-scale-mode', if
`face-remapping-alist' includes a :height property on the default
face, scale N by that factor, otherwise scale by 1."
@@ -191,6 +192,7 @@ face, scale N by that factor, otherwise scale by 1."
(defun olivetti-set-width (n)
"Set text body width to N with relative margins.
+
N may be an integer specifying columns or a float specifying a
fraction of the window width."
(interactive
@@ -229,6 +231,7 @@ care that the maximum size is 0."
(defun olivetti-toggle-hide-mode-line ()
"Toggle the visibility of the mode-line.
+
Toggles the value of `olivetti-hide-mode-line' and runs
`olivetti-set-mode-line'."
(interactive)
@@ -236,6 +239,7 @@ Toggles the value of `olivetti-hide-mode-line' and runs
(defun olivetti-expand (&optional arg)
"Incrementally increase the value of `olivetti-body-width'.
+
If prefixed with ARG, incrementally decrease."
(interactive "P")
(let* ((p (if arg -1 1))
@@ -249,12 +253,13 @@ If prefixed with ARG, incrementally decrease."
(defun olivetti-shrink (&optional arg)
"incrementally decrease the value of `olivetti-body-width'.
+
If prefixed with ARG, incrementally increase."
(interactive "P")
(let ((p (unless arg t)))
(olivetti-expand p)))
-;; Mode Definition =====================================================
+;;; Mode Definition
============================================================
;;;###autoload
(defun turn-on-olivetti-mode ()
- [elpa] externals/olivetti ff2b0a0 123/134: Change default body width to 70 (matches fill-column standard-value), (continued)
- [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, 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 <=
- [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
- [elpa] externals/olivetti 9bd4108 091/134: Compatibility fixes for Emacs 26, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti cba0d25 076/134: user-error for bad olivetti-body-width, Stefan Monnier, 2019/04/25