help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs C question


From: Pascal Bourguignon
Subject: Re: emacs C question
Date: 25 Sep 2003 04:30:06 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) 21.3.50.pjb1.1

John Russell <jorussel@cisco.com> writes:

> I'm not sure if this is the right group for this.  I am picking
> around the emacs C source.  How can I make emacs open a file from the
> internal C code.  e.g. write a function in emacs/src/buffer.c that opens a
> specific file.  Any ideas?  Thanks
> 
> John  

Why would anyone want to do that?

You can much more easily open a file with (find-file path).
There are a lot of initialization (lisp) files where to put such a command.

Otherwise, obviously, you could call Ffind_file from C.

-- 
__Pascal_Bourguignon__
http://www.informatimago.com/
Do not adjust your mind, there is a fault in reality.


reply via email to

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