all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: vc-revision-other-window problem
Date: Mon, 17 Dec 2007 11:23:16 +0100	[thread overview]
Message-ID: <47664E14.6040100@gmx.at> (raw)
In-Reply-To: <20071217101242.GA59857@orion.lan>

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]

>>Does it work with the attached patch?
> 
> 
> Which patch? :)

Sorry.

[-- Attachment #2: vc.patch --]
[-- Type: text/plain, Size: 844 bytes --]

*** vc.el.~1.491.~	Sat Dec  8 10:07:04 2007
--- vc.el	Mon Dec 17 08:53:54 2007
***************
*** 1297,1303 ****
    "Make sure that the current buffer visits a version-controlled file."
    (if vc-dired-mode
        (set-buffer (find-file-noselect (dired-get-filename)))
!     (while vc-parent-buffer
        (set-buffer vc-parent-buffer))
      (if (not buffer-file-name)
  	(error "Buffer %s is not associated with a file" (buffer-name))
--- 1297,1304 ----
    "Make sure that the current buffer visits a version-controlled file."
    (if vc-dired-mode
        (set-buffer (find-file-noselect (dired-get-filename)))
!     (while (and vc-parent-buffer
! 		(not (eq vc-parent-buffer (current-buffer))))
        (set-buffer vc-parent-buffer))
      (if (not buffer-file-name)
  	(error "Buffer %s is not associated with a file" (buffer-name))

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-12-17 10:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-17  1:06 vc-revision-other-window problem Emanuele Giaquinta
2007-12-17  7:57 ` martin rudalics
2007-12-17 10:12   ` Emanuele Giaquinta
2007-12-17 10:23     ` martin rudalics [this message]
2007-12-17 10:38       ` Emanuele Giaquinta

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=47664E14.6040100@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=emanuele.giaquinta@gmail.com \
    /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.