From 2f80d8058bada74ae67546e95c314066d697b7ba Mon Sep 17 00:00:00 2001 From: Antoine Levitt Date: Wed, 9 Feb 2022 10:53:19 +0100 Subject: [PATCH] Improve the set-fill-column prompt * lisp/simple.el (set-fill-column): Improve the prompt (bug#53874). --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 3cf3024184b..af51c99b285 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -8303,7 +8303,8 @@ Just \\[universal-argument] as argument means to use the current column." ;; We used to use current-column silently, but C-x f is too easily ;; typed as a typo for C-x C-f, so we turned it into an error and ;; now an interactive prompt. - (read-number "Set fill-column to: " (current-column))))) + (read-number (format "Change fill-column from %s to: " fill-column) + (current-column))))) (if (consp arg) (setq arg (current-column))) (if (not (integerp arg)) -- 2.39.5