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: guo . yong
Subject: Re: Error on `get-text-property`
Date: Tue, 30 Nov 2021 16:17:46 +0100 (CET)

You are right. I found another error from get-text-property but I cannot 
reproduce this bug yet :/ It looks like I have to hack around smartparens for a 
bit. 

Yong. 
-- 
 Sent with Tutanota, the secure & ad-free mailbox. 



Nov 29, 2021, 17:32 by michael_heerdegen@web.de:

> 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]