branch: elpa/forth-mode
commit 55de74bb4fbe73c10f70cfe414e028cd72cefe35
Author: Lars Brinkhoff <[email protected]>
Commit: Lars Brinkhoff <[email protected]>

    Query Forth session about defined words.
---
 forth-interaction-mode.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index 87fad97fc9..55f8c7376a 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -76,4 +76,8 @@
       (accept-process-output proc 0.1))
     forth-result))
 
+;;;###autoload
+(defun forth-words ()
+  (split-string (forth-interaction-send "words")))
+
 (provide 'forth-interaction-mode)

Reply via email to