unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "İ. Göktuğ Kayaalp" <self@gkayaalp.com>
To: dgutov@yandex.ru
Cc: 28570@debbugs.gnu.org
Subject: bug#28570: [PATCH] Implement ‘vc-default-dir-extra-headers’ for vc-rcs
Date: Tue, 10 Oct 2017 01:43:30 +0300	[thread overview]
Message-ID: <ygmmv4zhpda.fsf@gkayaalp.com> (raw)
In-Reply-To: <ygming95sqh.fsf@alpha>

Add an implementation of this for vc-rcs that does nothing to suppress
the message the default function adds to the vc-dir buffer (Bug#28570).
* lisp/vc/vc-rcs.el (vc-rcs-dir-extra-headers): New function.
---
 lisp/vc/vc-rcs.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/vc/vc-rcs.el b/lisp/vc/vc-rcs.el
index db1addbecd..6e639f8d13 100644
--- a/lisp/vc/vc-rcs.el
+++ b/lisp/vc/vc-rcs.el
@@ -177,6 +177,8 @@ vc-rcs-dir-status-files
 	  (push (list frel state) result))))
     (funcall update-function result)))
 
+(defun vc-rcs-dir-extra-headers (&rest ignore))
+
 (defun vc-rcs-working-revision (file)
   "RCS-specific version of `vc-working-revision'."
   (or (and vc-consult-headers
-- 
2.11.0






  parent reply	other threads:[~2017-10-09 22:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-23 15:39 bug#28570: 27.0.50; [PATCH] Disable unhelpful default Extra: header in vc-dir Göktuğ Kayaalp
2017-09-25  0:24 ` Dmitry Gutov
2017-09-27 21:50   ` Göktuğ Kayaalp
2017-10-08  8:03   ` Göktuğ Kayaalp
2017-10-09 13:18     ` Dmitry Gutov
2017-10-09 22:43 ` İ. Göktuğ Kayaalp [this message]
2017-10-16 15:51 ` bug#28570: Added patch, pinging Göktuğ Kayaalp
2017-10-17  0:49   ` Noam Postavsky
2017-10-17 10:42     ` Dmitry Gutov
2017-10-17 10:40   ` Dmitry Gutov
2017-10-17 18:03     ` Göktuğ Kayaalp

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=ygmmv4zhpda.fsf@gkayaalp.com \
    --to=self@gkayaalp.com \
    --cc=28570@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /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).