[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40056: 26.3; `comment-padright' fails when `comment-padding' is an i
From: |
Lars Ingebrigtsen |
Subject: |
bug#40056: 26.3; `comment-padright' fails when `comment-padding' is an integer |
Date: |
Thu, 28 Jan 2021 09:58:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
bruno cuconato <bcclaro@tutanota.com> writes:
> Docstring of `comment-padding' variable says: Can also be an integer
> which will be automatically turned into a string of the corresponding
> number of spaces.
>
> I'm using Emacs 26, but by inspection I don't expect a different
> result in master.
>
> % emacs -Q --batch --eval '(let ((comment-padding 0))
> (comment-padright "-- " 1))'
> Wrong type argument: sequencep, 0
This should now be fixed in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#40056: 26.3; `comment-padright' fails when `comment-padding' is an integer,
Lars Ingebrigtsen <=