[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/idris-mode 3d460800a4 01/18: Remove unecessary pop or disp
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/idris-mode 3d460800a4 01/18: Remove unecessary pop or display notes buffer |
Date: |
Thu, 8 Dec 2022 05:59:07 -0500 (EST) |
branch: elpa/idris-mode
commit 3d460800a4cc12a1bf751ca20961556e4a73809a
Author: Marek L <nospam.keram@gmail.com>
Commit: Marek L <nospam.keram@gmail.com>
Remove unecessary pop or display notes buffer
Why:
Last call in `idris-list-compiler-notes` is already call to
display the notes buffer.
This also simplify the decision if to pop or only display the notes buffer.
---
idris-commands.el | 5 +----
inferior-idris.el | 3 +--
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/idris-commands.el b/idris-commands.el
index 54f3d1cc55..7e000209f7 100644
--- a/idris-commands.el
+++ b/idris-commands.el
@@ -243,10 +243,7 @@ A prefix argument forces loading but only up to the
current line."
(idris-update-loaded-region result))))
(lambda (_condition)
(when (member 'warnings-tree idris-warnings-printing)
- (idris-list-compiler-notes)
- (if idris-stay-in-current-window-on-compiler-error
- (display-buffer idris-notes-buffer-name)
- (pop-to-buffer idris-notes-buffer-name)))))))
+ (idris-list-compiler-notes))))))
(error "Cannot find file for current buffer")))
(defun idris-view-compiler-log ()
diff --git a/inferior-idris.el b/inferior-idris.el
index ba2ea128b5..82ec295925 100644
--- a/inferior-idris.el
+++ b/inferior-idris.el
@@ -379,8 +379,7 @@ Idris error."
(if no-errors
(throw tag (list #'identity nil))
(when (member 'warnings-tree idris-warnings-printing)
- (when (idris-list-compiler-notes)
- (pop-to-buffer (idris-buffer-name :notes))))
+ (idris-list-compiler-notes))
(throw tag (list #'error "%s (synchronous Idris evaluation
failed)" condition)))))
(let ((debug-on-quit t)
(inhibit-quit nil))
- [nongnu] elpa/idris-mode updated (4a36953e76 -> 744f773bb4), ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 8c1a079a8e 03/18: Use idris-notes-buffer-name in idris-notes-quit, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 3f7eef3569 02/18: Split idris-list-compiler-notes to idris-compiler-notes-list-show, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 3d460800a4 01/18: Remove unecessary pop or display notes buffer,
ELPA Syncer <=
- [nongnu] elpa/idris-mode a971194d56 14/18: Merge pull request #582 from keram/notes-error-buffer-code-cleanup, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 51caa5f3a5 15/18: Merge pull request #585 from keram/emacs28-and-cache-v3, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 43aead3c46 05/18: Make idris-compiler-notes-list-show more similar with idris-hole-list-show, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 68fe8e115f 06/18: Move idris-list-compiler-notes into idris-commands.el, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 80861674a6 08/18: Debug CI idris2 failure 2 - try retry to wait for idris version in idris-switch-working-directory, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 94a88cdb99 07/18: Restore position after case split, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 888bf9614f 04/18: Make notes buffer special and make the show function similar to holes one, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 063a63b770 17/18: Merge pull request #586 from idris-hackers/revert-583-update-pr-465, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 9a4a9641b9 10/18: [ new ] intro command - backport from idris2-mode, ELPA Syncer, 2022/12/08
- [nongnu] elpa/idris-mode 5b3c88dc1d 11/18: Add test for idris-refine, ELPA Syncer, 2022/12/08