From 94232025e8b41367209729feb87c62cd5dcf7a95 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Tue, 7 Dec 2021 06:22:01 +0100 Subject: [PATCH] Fix typo and tweak indentation --- README.org | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index ebe909d..f267de7 100644 --- a/README.org +++ b/README.org @@ -1248,14 +1248,14 @@ the next source code block shows. Scale all other faces with a height that is a real number." (interactive) - (let* ((prompt (format "face heigth (%s): " (face-attribute 'default :height))) + (let* ((prompt (format "face heigth (%s): " + (face-attribute 'default :height))) + (choices (mapcar #'number-to-string + (number-sequence 50 200 10))) (height (string-to-number - (completing-read - prompt - (mapcar #'number-to-string (number-sequence 50 200 10)) - nil 'require-match)))) - (message "Setting the height of the default face to %s" new) - (set-face-attribute 'default nil :height new))) + (completing-read prompt choices nil 'require-match)))) + (message "Setting the height of the default face to %s" height) + (set-face-attribute 'default nil :height height))) #+end_src This setup prefers the ~leuven~ and ~leuven-dark~ themes from [[https://melpa.org/#/][MELPA]], because the