[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/olivetti 4344261 109/134: Don't round olivetti-scale-wi
From: |
Stefan Monnier |
Subject: |
[elpa] externals/olivetti 4344261 109/134: Don't round olivetti-scale-width |
Date: |
Thu, 25 Apr 2019 09:57:39 -0400 (EDT) |
branch: externals/olivetti
commit 4344261cf8e02d1ab1091f212ba5e370c3a7ba0a
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>
Don't round olivetti-scale-width
---
olivetti.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/olivetti.el b/olivetti.el
index baf08a1..c5a9035 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -270,11 +270,10 @@ Toggles the value of `olivetti-hide-mode-line' and runs
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."
- (let ((face-height (or (plist-get (cadr (assq 'default
- face-remapping-alist))
- :height)
- 1)))
- (round (* n face-height))))
+ (* n (or (plist-get (cadr (assq 'default
+ face-remapping-alist))
+ :height)
+ 1)))
(defun olivetti-safe-width (width window)
"Parse WIDTH to a safe value for `olivetti-body-width' for WINDOW."
- [elpa] externals/olivetti 696c195 080/134: Fixed window splitting, (continued)
- [elpa] externals/olivetti 696c195 080/134: Fixed window splitting, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti e9feab0 087/134: Remove H1 from README/Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 21f8356 086/134: Updated README/Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti df2477e 093/134: Fix README typo, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 2b202b4 098/134: Fix spelling error in description, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 1629f89 102/134: Always find window on all frames, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti c87a7ec 100/134: Merge pull request #17 from sten0/master, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti cab3aa3 095/134: Add headers for ELPA version, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 2e92258 103/134: Consider fringe width in current window when setting environment, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti cd2fdca 101/134: Added alt recommendation for writeroom-mode, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 4344261 109/134: Don't round olivetti-scale-width,
Stefan Monnier <=
- [elpa] externals/olivetti 6893bef 107/134: Added Ethereum and Bitcoin Cash addresses, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti b1759ab 117/134: Remove crypto addresses, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti f5c4565 119/134: Deleted repeated word in README.md, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti c516083 120/134: Merge pull request #21 from smythp/master, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 0227265 125/134: Update package version number, and text keyword, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 46fdcfe 134/134: Assign copyright to Free Software Foundation, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti a7f6477 118/134: Add LICENSE.txt, remove README license badge, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 18a9a8e 071/134: Use min-margins instead of split-window-right-force, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 050815f 113/134: Use internal rounding for olivetti-safe-width, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti da7955a 088/134: Added TODO.md, Stefan Monnier, 2019/04/25