From 0f2cb17dd6cad1eb5c1447a1b5f80c933309a153 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 18 Jan 2022 23:39:36 +0000 Subject: Make C-u C-x C-e work again (fixes #33) --- elisp/geiser-mode.el | 3 ++- news.org | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 9ea4d60..a7f49a1 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -1,6 +1,6 @@ ;;; geiser-mode.el -- minor mode for scheme buffers -;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020, 2022 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -194,6 +194,7 @@ With a prefix, revert the effect of `geiser-mode-eval-last-sexp-to-buffer' " nil t print-to-buffer-p))) + (ret (geiser-wait-eval ret 30)) (err (geiser-eval--retort-error ret)) (will-eval-to-buffer (if print-to-buffer-p (not geiser-mode-eval-last-sexp-to-buffer) diff --git a/news.org b/news.org index 0ca2612..365a18e 100644 --- a/news.org +++ b/news.org @@ -1,3 +1,5 @@ +* Version 0.22.1 + - Fix for C-u C-x C-e (in-buffer printing of evaluated expression) * Version 0.22 (December, 2021) - New functions geiser-wait-eval and geiser-eval-region/wait for synchronous clients like ob-scheme. -- cgit v1.2.3