[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53874: Patch: make set-fill-column show the current fill-column
From: |
Lars Ingebrigtsen |
Subject: |
bug#53874: Patch: make set-fill-column show the current fill-column |
Date: |
Wed, 09 Feb 2022 09:27:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Antoine Levitt <antoine.levitt@gmail.com> writes:
> + (let ((prompt (concat "Set fill-column to"
> + (format minibuffer-default-prompt-format
> + (concat (number-to-string
> (current-column))
> + ", currently "
> + (number-to-string
> fill-column)))
> + ": "))
> + (minibuffer-default-prompt-format ""))
Instead of doing it this way, I think it might make more sense to just
change the prompt to "Change fill-column from %s to:" instead? People
may have set minibuffer-default-prompt-format to something weird.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no