emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexander Baier <lexi.baier@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: loading all agenda files at startup
Date: Wed, 30 Apr 2014 11:11:13 +0200	[thread overview]
Message-ID: <87ha5bchce.fsf@gmail.com> (raw)
In-Reply-To: <87lhunchx8.fsf@gmail.com> (Alexander Baier's message of "Wed, 30 Apr 2014 10:58:43 +0200")

On 2014-04-30 10:58 Alexander Baier wrote:
> #+begin_src emacs-lisp
> (defun my-switch-to-sratch ()
>   (switch-to-buffer "*scratch*")
>   (delete-other-windows)
    (remove-hook 'org-agenda-after-show-hook 'my-switch-to-scratch)
> )
> #+end_src

I forgot to remove this function again, so it is only run the first time
the agenda is shown.

-- 
Alexander Baier

  reply	other threads:[~2014-04-30  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30  8:18 loading all agenda files at startup Eric Abrahamsen
2014-04-30  8:23 ` Daimrod
2014-04-30  8:44   ` Eric Abrahamsen
2014-04-30  8:58     ` Alexander Baier
2014-04-30  9:11       ` Alexander Baier [this message]
2014-05-03 11:17       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ha5bchce.fsf@gmail.com \
    --to=lexi.baier@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).