summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-20 14:12:42 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-20 14:13:18 +0200
commit756c48b33fc501003fb46598ed44c8a701c7a4df (patch)
treed587543404513eecd4ac49d757cc345d89813d7f
parent14ef4539bb580fe029fb2d3769dc4450f9289db8 (diff)
downloademacs-756c48b33fc501003fb46598ed44c8a701c7a4df.tar.gz
Add doc strings to the ielm * variables
* lisp/ielm.el: (*, **, ***): Add doc strings.
-rw-r--r--lisp/ielm.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index b8b0e260650..e9d3afe4c1b 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -122,14 +122,17 @@ such as `edebug-defun' to work with such inputs."
:type 'hook
:group 'ielm)
-;; Most recent value evaluated in IELM.
+;; We define these symbols (that are only used buffer-locally in ielm
+;; buffers) this way to avoid having them be defined in the global
+;; Emacs namespace.
(defvar *)
+(put '* 'variable-documentation "Most recent value evaluated in IELM.")
-;; Second-most-recent value evaluated in IELM.
(defvar **)
+(put '** 'variable-documentation "Second-most-recent value evaluated in IELM.")
-;; Third-most-recent value evaluated in IELM.
(defvar ***)
+(put '*** 'variable-documentation "Third-most-recent value evaluated in IELM.")
(defvar ielm-match-data nil
"Match data saved at the end of last command.")