From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>, Andy Moreton <andrewjmoreton@gmail.com>
Cc: 32225@debbugs.gnu.org
Subject: bug#32225: 27.0.50; [PATCH] avoid calling vc backend if vc-display-status is nil
Date: Sat, 28 Jul 2018 13:04:23 +0300 [thread overview]
Message-ID: <eec194b8-9d2e-b31b-18eb-08f278373c2e@yandex.ru> (raw)
In-Reply-To: <83wothrwbn.fsf@gnu.org>
On 7/27/18 10:07 AM, Eli Zaretskii wrote:
>> From: Andy Moreton <andrewjmoreton@gmail.com>
>> Date: Fri, 20 Jul 2018 17:45:09 +0100
>>
>> If the user sets `vc-display-status' to nil then the VC backend is still
>> called to get a revision number, even though it will not be displayed.
>>
>> The following patch avoids this unneeded work.
>>
>>
>> Do not call VC backend to update mode line if vc-display-status is nil
>>
>> 2018-07-20 Andy Moreton <andrewjmoreton@gmail.com>
>>
>> * lisp/vc/vc-hooks.el (vc-mode-line): Avoid calling VC backend if
>> vc-display-status is nil.
>
> LGTM, please push to the master branch.
+1
next prev parent reply other threads:[~2018-07-28 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-20 16:45 bug#32225: 27.0.50; [PATCH] avoid calling vc backend if vc-display-status is nil Andy Moreton
2018-07-27 7:07 ` Eli Zaretskii
2018-07-28 10:04 ` Dmitry Gutov [this message]
2018-08-11 10:05 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eec194b8-9d2e-b31b-18eb-08f278373c2e@yandex.ru \
--to=dgutov@yandex.ru \
--cc=32225@debbugs.gnu.org \
--cc=andrewjmoreton@gmail.com \
--cc=eliz@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).