From: Ivan Shmakov <ivan@siamics.net>
To: 20519-done@debbugs.gnu.org
Subject: bug#20519: face-at-point: do not compute the final list if a sole value is wanted
Date: Wed, 27 May 2015 22:30:48 +0000 [thread overview]
Message-ID: <87y4k9fyav.fsf@violet.siamics.net> (raw)
In-Reply-To: <87pp6djt4b.fsf@violet.siamics.net> (Ivan Shmakov's message of "Wed, 06 May 2015 21:25:40 +0000")
Version: 25.1
>>>>> Ivan Shmakov <ivan@siamics.net> writes:
> The face-at-point function currently (1c7f0cdc4c1f, 2015-04-27
> 16:59:11 +00:00) uses delete-dups to compute a duplicate-free version
> of the list… just before taking a single value of it and discarding
> the rest in the (not multiple) case.
> Please thus consider the following patch.
> * lisp/faces.el (face-at-point): Do not compute the properly ordered,
> duplicate-free list if only a single value is requested.
Pushed, as there were no objections; closing.
commit 550c65011c7394e8ebcf91fc29af2984908279d1
Date: 2015-05-27 22:15:27 +0000
Avoid gratuitous delete-dups in face-at-point.
* lisp/faces.el (face-at-point): Do not compute the properly
ordered, duplicate-free list if only a single value is
requested anyway. (Bug#20519)
--
FSF associate member #7257 http://am-1.org/~ivan/ … 3013 B6A0 230E 334A
prev parent reply other threads:[~2015-05-27 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 21:25 bug#20519: face-at-point: do not compute the final list if a sole value is wanted Ivan Shmakov
2015-05-27 22:30 ` Ivan Shmakov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4k9fyav.fsf@violet.siamics.net \
--to=ivan@siamics.net \
--cc=20519-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.