Amar Singh writes:
>>Not yet, let's see.
>>
>>> -(mru-recall! buffer-stack buffer)
>>> +(if recall? (mru-recall! buffer-stack buffer))
>>
>>(please use `when' for an if without else clause).
>>
>>janneke
>
>>I don't think that's what we want, I'm imagining this helps you to
>>achie
On June 26, 2019 6:05:39 PM GMT+05:30, Jan Nieuwenhuizen
wrote:
>Amar Singh writes:
>
>> Emacsy's `set-buffer!' does not seem to work
>
>What are you trying to achieve? Set-buffer! is used eg in with-buffer
>
>--8<---cut here---start->8---
>(define-syntax with
Amar Singh writes:
> Emacsy's `set-buffer!' does not seem to work
What are you trying to achieve? Set-buffer! is used eg in with-buffer
--8<---cut here---start->8---
(define-syntax with-buffer
(syntax-rules ()
((with-buffer buffer e ...)
(let ((old
Emacsy's `set-buffer!' does not seem to work, and `switch-to-buffer'
does a bit more than just switch to the given buffer(it also re-orders
the buffer-stack). Maybe an optional argument to `switch-to-buffer'
should be provided if the user also wants to set the current buffer as
most recently used