[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/poke 4fe7b7d8d3 48/76: poke.el: fix pouplating map buff
From: |
ELPA Syncer |
Subject: |
[elpa] externals/poke 4fe7b7d8d3 48/76: poke.el: fix pouplating map buffer |
Date: |
Tue, 5 Apr 2022 14:59:36 -0400 (EDT) |
branch: externals/poke
commit 4fe7b7d8d3839e17a5658daa821515f38c77f05d
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Commit: Jose E. Marchesi <jose.marchesi@oracle.com>
poke.el: fix pouplating map buffer
---
poke.el | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/poke.el b/poke.el
index f73f334d5d..d3c83cb635 100644
--- a/poke.el
+++ b/poke.el
@@ -1068,11 +1068,20 @@ Each entry in the stack is a list of strings, and may
be empty.")
(list nil name type offset)
(car poke-maps-stack))
(cdr poke-maps-stack)))
- (poke-maps-populate)
- (poke-maps-do-line)
+ (let ((buf (get-buffer-create "*poke-maps*")))
+ (with-current-buffer buf
+ (poke-maps-do-buffer)))
(when (not (get-buffer-window "*poke-maps*"))
(switch-to-buffer-other-window "*poke-maps*")))
+(defun poke-maps-do-buffer ()
+ (let ((inhibit-read-only t))
+ (erase-buffer))
+ (remove-overlays)
+ (poke-maps-mode)
+ (poke-maps-populate)
+ (poke-maps-do-line))
+
(defun poke-maps-populate ()
"Populate a `poke-maps-mode' buffer with the map listing
at the top of the `poke-maps-stack' stack."
@@ -1189,9 +1198,7 @@ at the top of the `poke-maps-stack' stack."
(interactive)
(let ((buf (get-buffer-create "*poke-maps*")))
(with-current-buffer buf
- (poke-maps-mode)
- (poke-maps-populate)
- (poke-maps-update-overlay)))
+ (poke-maps-do-buffer)))
(when (called-interactively-p)
(switch-to-buffer-other-window "*poke-maps*")))
- [elpa] externals/poke d29be6c3a7 18/76: poke.el: highlight errors and warnings, (continued)
- [elpa] externals/poke d29be6c3a7 18/76: poke.el: highlight errors and warnings, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 83459fae6e 09/76: poke.el: new pokelet elval and plet_elval, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 84913982b0 23/76: poke.el: set_ios support, ELPA Syncer, 2022/04/05
- [elpa] externals/poke ad7ecfce56 28/76: poke.el: highlight lines in *poke-ios*, ELPA Syncer, 2022/04/05
- [elpa] externals/poke b88ff20148 31/76: poke.el: couple of small fixes, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 44f8443088 35/76: poke.el: minor fixes, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 46d106a707 40/76: poke.el: remove some non-needed functions, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 67aec94f24 42/76: poke.el: improvements in poke-edit, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 4e561bd42c 45/76: poke.el: several fixes, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 1de8a96a83 47/76: poke.el: more settings and frame layout, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 4fe7b7d8d3 48/76: poke.el: fix pouplating map buffer,
ELPA Syncer <=
- [elpa] externals/poke 71345855d5 49/76: poke.el: fix typo, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 8128b1c4b4 54/76: poke.el: simplify prompt handling, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 2b9ce057b3 61/76: poke.el: remove spurious function, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 9f45208c23 63/76: poke.el: mention pdap, ELPA Syncer, 2022/04/05
- [elpa] externals/poke cdf89905d2 02/76: emacs: new poke.el Emacs interface based on poked, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 48ec70a5fa 06/76: poke.el: simplify, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 182c7e124a 16/76: poke.el: fix typo, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 084424df42 17/76: poke.el: add a few commentary, ELPA Syncer, 2022/04/05
- [elpa] externals/poke 560a396b6b 21/76: poke.el: poke-ios buffer with a list of open IO spaces, ELPA Syncer, 2022/04/05
- [elpa] externals/poke a656ac1691 32/76: emacs.el: poke-vu movement commands, ELPA Syncer, 2022/04/05