branch: externals/olivetti commit cba0d2595c53cd1961e924f437e53f4c8342e3b5 Author: Paul Rankin <he...@paulwrankin.com> Commit: Paul Rankin <he...@paulwrankin.com>
user-error for bad olivetti-body-width --- olivetti.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olivetti.el b/olivetti.el index b33aea9..1c4231a 100644 --- a/olivetti.el +++ b/olivetti.el @@ -198,7 +198,7 @@ face, scale N by that factor, otherwise scale by 1." (string-to-number (format "%0.2f" (min n 1.0))))) (max width min-width))) - ((message "`olivetti-body-width' must be an integer or a float") + ((user-error "`olivetti-body-width' must be an integer or a float") (setq olivetti-body-width (eval (car (get 'olivetti-body-width 'standard-value))))))))