[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: commandline-invoked functions are broken in pwsafe.el
From: |
Anselm Helbig |
Subject: |
Re: commandline-invoked functions are broken in pwsafe.el |
Date: |
Fri, 18 Sep 2009 12:52:17 +0200 |
Hi!
> I want to launch emacs and have it immediately launch into pwsafe-mode.
>
> My .emacs file properly loads the pwsafe.el file, so that when I type M-x
> pwsafe, everything works. But when I run this on the CLI:
>
> emacs -f pwsafe
>
> the output message is:
>
> command-line-1: Wrong number of arguments: (lambda (force) "Major mode to
The pwsafe function takes an argument. In interactive use this will be
the prefix argument and so defaults to nil. You can do:
emacs --eval '(pwsafe nil)'
HTH,
Anselm
--
Anselm Helbig
mailto:anselm.helbig+news2009@googlemail.com