all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* quoted buffer object
@ 2007-08-23  9:48 Thien-Thi Nguyen
  2007-08-23 13:16 ` Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: Thien-Thi Nguyen @ 2007-08-23  9:48 UTC (permalink / raw)
  To: emacs-devel

in vc.el:999, i see:

  (with-current-buffer ',(current-buffer)

weird.  here are some experiments in *scratch*:

  (bufferp (current-buffer))
  t
  
  (bufferp (car `(,(current-buffer))))
  t
  
  (bufferp (car `(',(current-buffer))))
  nil

i conclude the code as it stands does not DTRT.
perhaps it should be changed to:

  (with-current-buffer ,(buffer-name (current-buffer))

?  any objections?

thi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-23 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23  9:48 quoted buffer object Thien-Thi Nguyen
2007-08-23 13:16 ` Johan Bockgård
2007-08-23 14:42   ` Stefan Monnier

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.