diff options
| -rw-r--r-- | lisp/ielm.el | 9 |
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." | |||
| 122 | :type 'hook | 122 | :type 'hook |
| 123 | :group 'ielm) | 123 | :group 'ielm) |
| 124 | 124 | ||
| 125 | ;; Most recent value evaluated in IELM. | 125 | ;; We define these symbols (that are only used buffer-locally in ielm |
| 126 | ;; buffers) this way to avoid having them be defined in the global | ||
| 127 | ;; Emacs namespace. | ||
| 126 | (defvar *) | 128 | (defvar *) |
| 129 | (put '* 'variable-documentation "Most recent value evaluated in IELM.") | ||
| 127 | 130 | ||
| 128 | ;; Second-most-recent value evaluated in IELM. | ||
| 129 | (defvar **) | 131 | (defvar **) |
| 132 | (put '** 'variable-documentation "Second-most-recent value evaluated in IELM.") | ||
| 130 | 133 | ||
| 131 | ;; Third-most-recent value evaluated in IELM. | ||
| 132 | (defvar ***) | 134 | (defvar ***) |
| 135 | (put '*** 'variable-documentation "Third-most-recent value evaluated in IELM.") | ||
| 133 | 136 | ||
| 134 | (defvar ielm-match-data nil | 137 | (defvar ielm-match-data nil |
| 135 | "Match data saved at the end of last command.") | 138 | "Match data saved at the end of last command.") |