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

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

Fwd: Determine if emacs or emacsclient was run with filename(s) as comma


From: Constantin Kulikov
Subject: Fwd: Determine if emacs or emacsclient was run with filename(s) as commandline argument.
Date: Sun, 12 May 2013 11:41:25 +0400

Looks like it's always `("emacs")' for emacsclient -c file, or it's
processed and set to that value before any of hooks that I can set.
I discovered that before-make-frame-hook and after-make-frame-functions is
triggered before the find-file-hook, but command-line-args is `("emacs")'
in each of this hooks.


reply via email to

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