branch: externals/olivetti
commit d4fdf918e195382609179652eec89a2a6f77f8b7
Author: Paul Rankin <he...@paulwrankin.com>
Commit: Paul Rankin <he...@paulwrankin.com>

    Fix for Emacs lexical binding standard-value bug
---
 olivetti.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/olivetti.el b/olivetti.el
index ff91171..163f656 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -192,7 +192,7 @@ face, scale N by that factor, otherwise scale by 1."
              (max width min-width)))
           ((message "`olivetti-body-width' must be an integer or a float")
            (setq olivetti-body-width
-                 (car (get 'olivetti-body-width 'standard-value)))))))
+                 (eval (car (get 'olivetti-body-width 'standard-value))))))))
 
 (defun olivetti-set-width (n)
   "Set text body width to N with relative margins.

Reply via email to