[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/forth-mode 48bcf41d63 058/153: Cache words from interactiv
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/forth-mode 48bcf41d63 058/153: Cache words from interactive Forth. |
Date: |
Sat, 29 Jan 2022 08:02:16 -0500 (EST) |
branch: elpa/forth-mode
commit 48bcf41d63690cce5e046185ed52ae8e3fdecd73
Author: Lars Brinkhoff <lars@nocrew.org>
Commit: Lars Brinkhoff <lars@nocrew.org>
Cache words from interactive Forth.
---
forth-interaction-mode.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index 61afa7332c..fad4ca04ab 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -3,6 +3,7 @@
(defvar forth-interaction-buffer nil)
(defvar forth-interaction-callback nil)
+(defvar forth-words-cache nil)
(defvar forth-interaction-mode-map
(let ((map (copy-keymap forth-mode-map)))
@@ -81,12 +82,15 @@
(comint-send-string proc "\n")
(while (< (float-time) end-time)
(accept-process-output proc 0.1))
+ (setq forth-words-cache nil)
forth-result))
;;;###autoload
(defun forth-words ()
(when forth-interaction-buffer
- (split-string (forth-interaction-send "words"))))
+ (or forth-words-cache
+ (setq forth-words-cache
+ (split-string (forth-interaction-send "words"))))))
;;;###autoload
(defun forth-eval-region (start end)
- [nongnu] elpa/forth-mode 4868a0ff03 051/153: Fix for imenu integration., (continued)
- [nongnu] elpa/forth-mode 4868a0ff03 051/153: Fix for imenu integration., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 5b42dfac0c 105/153: Merge branch 'master' into case-insensitive-indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode c8103312c3 041/153: Fix typo., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode b83ff1274b 054/153: Type C-c C-s to SEE a word., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 2f5d87f3c5 126/153: No 64-bit build for pForth in Ubuntu. Try Gforth., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 2813a7bf3d 090/153: Introduce a hook to initialize backends, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode c64035c209 073/153: Add backends for Forth implementations., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode d1498037a2 107/153: Add simple tests for forward-sexp, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 83a62c82c4 030/153: Move all package metadata to forth-mode.el., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 186bae4853 083/153: Fix set-process-window-size parameter order., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 48bcf41d63 058/153: Cache words from interactive Forth.,
ELPA Syncer <=
- [nongnu] elpa/forth-mode f418b9aac2 087/153: Set process coding system for SwiftForth., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode f3d76c12c1 125/153: Test completion-at-point, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 4dc1ff0f3b 086/153: Include backend files in make dependencies., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 2779ca61ab 075/153: Improve building of backend files., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 71016700dc 095/153: Emacs 23: use cl library instead of cl-lib., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 715d813c83 062/153: Clean up tests., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode e35317f2f7 093/153: Improve syntax-propertize function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 76e3885c0b 150/153: Remove obsolete Wercker CI build., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 443193e02f 071/153: Auto-detect Forth implementation., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode a7a5d4ba05 137/153: Use defcustom to define forth-smie-basic-indent, ELPA Syncer, 2022/01/29