emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/olivetti 3d057a5 073/134: Removed useless (let ...)


From: Stefan Monnier
Subject: [elpa] externals/olivetti 3d057a5 073/134: Removed useless (let ...)
Date: Thu, 25 Apr 2019 09:57:32 -0400 (EDT)

branch: externals/olivetti
commit 3d057a5876d87f0aeb5205a6e472ed2b75f7c7d2
Author: Paul Rankin <address@hidden>
Commit: Paul Rankin <address@hidden>

    Removed useless (let ...)
---
 olivetti.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/olivetti.el b/olivetti.el
index a90ad93..69839a3 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -188,8 +188,7 @@ face, scale N by that factor, otherwise scale by 1."
         (min-width (+ olivetti-minimum-body-width
                       (% olivetti-minimum-body-width 2))))
     (cond ((integerp n)
-           (let ((width (min n window-width)))
-             (max width min-width)))
+           (max (min n window-width) min-width))
           ((floatp n)
            (let ((min-width
                   (string-to-number (format "%0.2f"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]