emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 756c48b 2/3: Add doc strings to the ielm * variable


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 756c48b 2/3: Add doc strings to the ielm * variables
Date: Thu, 20 Jun 2019 11:11:24 -0400 (EDT)

branch: master
commit 756c48b33fc501003fb46598ed44c8a701c7a4df
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Add doc strings to the ielm * variables
    
    * lisp/ielm.el: (*, **, ***): Add doc strings.
---
 lisp/ielm.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lisp/ielm.el b/lisp/ielm.el
index b8b0e26..e9d3afe 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]