help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error on `get-text-property`


From: Michael Heerdegen
Subject: Re: Error on `get-text-property`
Date: Mon, 29 Nov 2021 11:32:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

guo.yong--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Yes. It is that error.
> I think I have a workaround now. Changing the call of
> get-text-property in kill-append to
> (get-text-property (if (null cur)
>                                                1
>                                              0) 'yank-handler cur)
>
> Seems to fix the error.

This only masks the symptom.  `kill-append' must not be called when the
kill-ring is empty.  smartparens should take care of this.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]