[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/olivetti 4c2ab02 070/134: Use version<, print patch mes
From: |
Stefan Monnier |
Subject: |
[elpa] externals/olivetti 4c2ab02 070/134: Use version<, print patch message, cleanup docs |
Date: |
Thu, 25 Apr 2019 09:57:31 -0400 (EDT) |
branch: externals/olivetti
commit 4c2ab02002e7f82cd7d1652a97c5bbe6551b2c50
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>
Use version<, print patch message, cleanup docs
---
olivetti.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/olivetti.el b/olivetti.el
index 9664365..6395e4c 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -230,8 +230,7 @@ fraction of the window width."
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 'exit 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
@@ -295,10 +294,10 @@ If prefixed with ARG, incrementally increase."
:group 'olivetti)
(defun split-window-right-force (&optional size)
- "Filter arguments to `split-window-right' to force split.
+ "Filter arguments to `split-window-right' to force splitting window.
-If optional argument SIZE is ommitted or nil, split window
-exactly in half.
+If optional argument SIZE is ommitted or nil, both windows get
+the same width.
Workaround for known Emacs bug in `window-min-size'.
See <http://debbugs.gnu.org/24193>."
@@ -312,9 +311,10 @@ Adds advice to `split-window-right' to workaround changes
in
width when using large margins.
See <http://debbugs.gnu.org/24193>."
(unless (or (advice-member-p 'split-window-right-force 'split-window-right)
- (< (string-to-number emacs-version) 25))
- (advice-add 'split-window-right :filter-args
- 'split-window-right-force)))
+ (version< emacs-version "25"))
+ (advice-add 'split-window-right :filter-args
+ 'split-window-right-force)
+ (message "olivetti: Function `split-window-right' has been patched")))
;;; Mode Definition
- [elpa] externals/olivetti 99a8b3d 034/134: Changed email, (continued)
- [elpa] externals/olivetti 99a8b3d 034/134: Changed email, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti bd672e5 052/134: Make it easier to adjust olivetti-body-width, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti be11f32 055/134: Fixing typo, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti bb2e0cf 056/134: set-temporary-overlay-map -> set-transient-map, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 4a6197f 064/134: Merge branch 'master' of https://github.com/rnkn/olivetti, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti e7b7169 063/134: Using page delimiters, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 4095b76 053/134: Merge pull request #10 from larstvei/master, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 7f8e44b 061/134: Custom lighter, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 90cf062 065/134: Added C-c \, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti d0d2bc0 067/134: Attempt to patch known Emacs bugs., Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 4c2ab02 070/134: Use version<, print patch message, cleanup docs,
Stefan Monnier <=
- [elpa] externals/olivetti ee8f064 077/134: Removed 25.1 patch for split-window-right, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 777ec83 033/134: Updated README/Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti c759791 036/134: Added missing doc to olivetti-set-width, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 52b5b4e 038/134: Cleaning up, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti bee3291 015/134: Fixes #1, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti bb7b2ce 007/134: Doc cleanup, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 751b90f 028/134: Fixes #3, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti c2b1100 025/134: Updated README and Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 1553934 079/134: Move hide-mode-line into set-environment, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 39271d0 082/134: Only reset split-window param if olivetti-split-window, Stefan Monnier, 2019/04/25