emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does Emacs find the buffer for a file?


From: Andreas Schwab
Subject: Re: How does Emacs find the buffer for a file?
Date: Sun, 16 Jun 2002 15:50:57 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux)

Eli Zaretskii <address@hidden> writes:

|> On Sat, 15 Jun 2002 address@hidden wrote:
|> 
|> > When you do C-x C-f /some/file RET, then Emacs runs
|> > insert-file-contents and puts the output in some buffer.  How does
|> > Emacs determine the buffer from the filename?
|> 
|> See buffer.c:Fget_file_buffer.  It is called by find-file-noselect, a 
|> subroutine of find-file.

See also create-file-buffer, also called by find-file-noselect, for
creating a new, unique buffer.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]