unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Juri Linkov <juri@linkov.net>
Cc: 41974@debbugs.gnu.org
Subject: bug#41974: 28.0.50; Some vc commands refuse to work when called on non-file buffer
Date: Tue, 23 Jun 2020 03:34:28 +0300	[thread overview]
Message-ID: <7a08d8b8-aed5-b130-1d8e-34d90781a64a@yandex.ru> (raw)
In-Reply-To: <87eeq67k9k.fsf@mail.linkov.net>

On 23.06.2020 02:38, Juri Linkov wrote:
>>        ((not buffer-file-name)
>> -       (error "Buffer %s is not associated with a file" (buffer-name)))
>> +       (error "Buffer %s is not recognized by any VC backend"
> It seems this code is not necessary anymore because before this code
> gets executed, vc-responsible-backend already signals its error
> "No VC backend is responsible for file".

Even better.





  reply	other threads:[~2020-06-23  0:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-20 23:55 bug#41974: 28.0.50; Some vc commands refuse to work when called on non-file buffer Juri Linkov
2020-06-21  0:07 ` Dmitry Gutov
2020-06-21 22:51   ` Juri Linkov
2020-06-22  0:59     ` Dmitry Gutov
2020-06-22 23:38       ` Juri Linkov
2020-06-23  0:34         ` Dmitry Gutov [this message]
2020-06-23 23:54           ` Juri Linkov

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=7a08d8b8-aed5-b130-1d8e-34d90781a64a@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=41974@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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).