emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] segfault when org-ellipsis is empty


From: Nicolas Goaziou
Subject: Re: [O] segfault when org-ellipsis is empty
Date: Mon, 26 Jun 2017 23:42:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Kaushal Modi <address@hidden> writes:

> On Mon, Jun 26, 2017 at 4:19 PM Nicolas Goaziou <address@hidden>
> wrote:
>
>>
>> Meanwhile, we could simply change :safe keyword from `org-ellipsis' to
>>
>>   (lambda (v) (and (string-or-null-p v) (not (equal v ""))))
>>
>>
>> WDYT?
>>
>
> But that would still allow the user to use setq to set that variable.

True, but can we always prevent them from shooting themselves in the
foot?

Anyway, I updated the :safe value and changed the test below:

  (vconcat (mapcar (lambda (c) (make-glyph-code c 'org-ellipsis))
                   (if (stringp org-ellipsis) org-ellipsis "...")))


Regards,



reply via email to

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