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

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

Re: Command line open does not use find-file anymore?


From: Michael Heerdegen
Subject: Re: Command line open does not use find-file anymore?
Date: Tue, 19 Sep 2017 13:38:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)

"Everton J. Carpes" <everton.carpes@gmail.com> writes:

>   1. Emacs 25 doesn't use find-file anymore when opening from command line?
>   2. Which function is called now?
>   4. How can I learn more about what emacs does when opened?

Seems you are right - the code switched to `find-file-noselect' a while
ago (`find-file' is just a thin wrapper around `find-file-noselect' that
directly selects the file's buffer).  You can find that argument
handling code in startup.el, `command-line-1' in particular.


Michael.



reply via email to

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