[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Determine if emacs or emacsclient was run with filename(s) as comman
From: |
Constantin Kulikov |
Subject: |
Re: Determine if emacs or emacsclient was run with filename(s) as commandline argument. |
Date: |
Sun, 12 May 2013 14:56:14 +0400 |
found server-visit-hook, will try use it
On 12 May 2013 11:41, Constantin Kulikov <zxnotdead@gmail.com> wrote:
> 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.
>