[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save-current-buffer
From: |
Nikolaj Schumacher |
Subject: |
Re: save-current-buffer |
Date: |
Tue, 21 Oct 2008 23:21:09 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Andreas Politz <politza@fh-trier.de> wrote:
> I see. I assume after the form is evaluated, some event will set the
> current-buffer to the one switch-to-buffer switched to.
I assume it's the other way round: When calling a command the current
buffer is set according to the selected window. But the results are the
same.
> (require 'recentf)
> (run-with-timer 0 nil 'recentf-open-files)
>
> Now pressing 'q' gives a read-only error, though it is
> bound to recentf-cancel-dialog. Pressing it twice works fine.
I'll wager that this is an Emacs bug.
>From the Emacs TODO file:
** Compute the list of active keymaps *after* reading the first event.
I hope that I just saved you some headaches... Good thing you were
talking to me. I reported this bug. :)
regards,
Nikolaj Schumacher