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

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

bug#23509: 24.4; initial-buffer-choice bug with zero-argument lambda


From: Michael Heerdegen
Subject: bug#23509: 24.4; initial-buffer-choice bug with zero-argument lambda
Date: Tue, 10 May 2016 22:12:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

"Alfonsogonzalez, Ernesto (GE Digital)" <ernesto.alfonsogonzalez@ge.com>
writes:

> (setq initial-buffer-choice
>       ;"~/";;works
>       (lambda ()
>       '(call-interactively 'org-agenda-list)
>       "*Org Agenda*"
>       "~/");;doesn't work, opens scratch buffer
>       )

> If the value is nil and `inhibit-startup-screen' is nil, show the
> startup screen.  If the value is a string, switch to a buffer
> visiting the file or directory that the string specifies.  If the
> value is a function, call it with no arguments and switch to the buffer
> that it returns.

Your function doesn't return a buffer.


Michael.





reply via email to

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