[Top][All Lists]

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

Re: Geiser vs. guile-mode?

From: Jose A. Ortega Ruiz
Subject: Re: Geiser vs. guile-mode?
Date: Fri, 21 Feb 2020 22:57:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Fri, Feb 21 2020, Arne Babenhauserheide wrote:


> Would it be possible to re-evaluate on save?
> (defun re-evaluate-buffer () …)
> (add-hook 'after-save-hook 're-evaluate-buffer)

yes, all you need for that is:

  (defun re-evaluate-buffer ()
    (when geiser-mode (geiser-compile-current-buffer)))

(but guile will enter the debugger if you save a buffer with errors.)

reply via email to

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