From 451321ce348859b0c585b675a328f280ca9ee176 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Fri, 16 Feb 2024 11:02:34 +0100 Subject: [PATCH] Comply more with `writegood-mode' --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 58c6751..5d9253e 100644 --- a/README.org +++ b/README.org @@ -1182,10 +1182,10 @@ users from shooting themselves in the feet. Listing (with-eval-after-load 'emacs (setq disabled-command-function (defun enable-this-command (&rest _args) - "Called when a disabled command is executed. + "Called when executing a disabled command. Enable it and re-execute it." (put this-command 'disabled nil) - (message "You typed %s. %s was disabled until now." + (message "You typed %s. Emacs enabled %s." (key-description (this-command-keys)) this-command) (sit-for 0) (call-interactively this-command))))