aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-04-27 01:28:39 +0000
committerRichard M. Stallman1998-04-27 01:28:39 +0000
commitfed9da131cfdb6ff93ceac042e639150eae8d3ee (patch)
treede5960cacf5ffd19ea6c141635bb40dfca070fcd
parentc6a635346e792dd12dce4f2b1386bfdce14773ac (diff)
downloademacs-fed9da131cfdb6ff93ceac042e639150eae8d3ee.tar.gz
emacs-fed9da131cfdb6ff93ceac042e639150eae8d3ee.zip
(ielm-eval-input): Use variables *, **, *** not :, ::, :::.
(inferior-emacs-lisp-mode): Corresponding changes.
-rw-r--r--lisp/ielm.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index d891ec79453..9983c01a0f5 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -303,15 +303,15 @@ simply inserts a newline."
303 (if (ielm-is-whitespace (substring ielm-string ielm-pos)) 303 (if (ielm-is-whitespace (substring ielm-string ielm-pos))
304 ;; need this awful let convolution to work around 304 ;; need this awful let convolution to work around
305 ;; an Emacs bug involving local vbls and let binding 305 ;; an Emacs bug involving local vbls and let binding
306 (let ((:save :) 306 (let ((*save *)
307 (::save ::) 307 (**save **)
308 (:::save :::)) 308 (***save ***))
309 (save-excursion 309 (save-excursion
310 (set-buffer ielm-working-buffer) 310 (set-buffer ielm-working-buffer)
311 (condition-case err 311 (condition-case err
312 (let ((: :save) 312 (let ((* *save)
313 (:: ::save) 313 (** **save)
314 (::: :::save) 314 (*** ***save)
315 (ielm-obuf (current-buffer))) 315 (ielm-obuf (current-buffer)))
316 (setq ielm-result (eval ielm-form)) 316 (setq ielm-result (eval ielm-form))
317 (setq ielm-wbuf (current-buffer)) 317 (setq ielm-wbuf (current-buffer))
@@ -388,7 +388,7 @@ Uses the interface provided by `comint-mode' (which see).
388* \\[comint-dynamic-complete] completes Lisp symbols (or filenames, within strings), 388* \\[comint-dynamic-complete] completes Lisp symbols (or filenames, within strings),
389 or indents the line if there is nothing to complete. 389 or indents the line if there is nothing to complete.
390 390
391During evaluations, the values of the variables `:', `::', and `:::' 391During evaluations, the values of the variables `*', `**', and `***'
392are the results of the previous, second previous and third previous 392are the results of the previous, second previous and third previous
393evaluations respectively. 393evaluations respectively.
394 394
@@ -438,12 +438,12 @@ Customised bindings may be defined in `ielm-map', which currently contains:
438 (setq fill-paragraph-function 'lisp-fill-paragraph) 438 (setq fill-paragraph-function 'lisp-fill-paragraph)
439 439
440 ;; Value holders 440 ;; Value holders
441 (setq : nil) 441 (setq * nil)
442 (make-local-variable ':) 442 (make-local-variable '*)
443 (setq :: nil) 443 (setq ** nil)
444 (make-local-variable '::) 444 (make-local-variable '**)
445 (setq ::: nil) 445 (setq *** nil)
446 (make-local-variable ':::) 446 (make-local-variable '***)
447 447
448 ;; font-lock support 448 ;; font-lock support
449 (make-local-variable 'font-lock-defaults) 449 (make-local-variable 'font-lock-defaults)