From 4f06aba28fb87f991ec7f2126d6752b1f491eda8 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 15 Jul 2019 22:07:42 +0200 Subject: with-editor-usage-message: Cosmetics --- with-editor.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/with-editor.el b/with-editor.el index f8f4da8..398e293 100644 --- a/with-editor.el +++ b/with-editor.el @@ -447,11 +447,12 @@ or \\[with-editor-cancel] to cancel") (defun with-editor-usage-message () ;; Run after `server-execute', which is run using ;; a timer which starts immediately. - (run-with-timer - 0.05 nil - `(lambda () - (with-current-buffer ,(current-buffer) - (message (substitute-command-keys with-editor-usage-message)))))) + (let ((buffer (current-buffer))) + (run-with-timer + 0.05 nil + (lambda () + (with-current-buffer buffer + (message (substitute-command-keys with-editor-usage-message))))))) ;;; Wrappers -- cgit v1.2.3