Mercurial > emacs
comparison lisp/emacs-lisp/lisp-mode.el @ 89966:d8411455de48
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-32
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-486
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-487
Tweak permissions
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-488
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-489
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-490
Update from CVS: man/fixit.texi (Spelling): Fix typo.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-491
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-494
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-495
Update from CVS: Add missing lisp/mh-e files
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-496
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-499
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-500
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-513
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 27 Aug 2004 07:00:34 +0000 |
parents | 4c90ffeb71c5 c28ce21eb5ae |
children | 3219f94257bc |
comparison
equal
deleted
inserted
replaced
89965:5e9097d1ad99 | 89966:d8411455de48 |
---|---|
553 unabbreviated | 553 unabbreviated |
554 (buffer-substring-no-properties beg end)) | 554 (buffer-substring-no-properties beg end)) |
555 )))) | 555 )))) |
556 | 556 |
557 | 557 |
558 (defvar eval-last-sexp-fake-value (make-symbol "t")) | |
559 | |
558 (defun eval-last-sexp (eval-last-sexp-arg-internal) | 560 (defun eval-last-sexp (eval-last-sexp-arg-internal) |
559 "Evaluate sexp before point; print value in minibuffer. | 561 "Evaluate sexp before point; print value in minibuffer. |
560 Interactively, with prefix argument, print output into current buffer." | 562 Interactively, with prefix argument, print output into current buffer." |
561 (interactive "P") | 563 (interactive "P") |
562 (if (null eval-expression-debug-on-error) | 564 (if (null eval-expression-debug-on-error) |
563 (eval-last-sexp-1 eval-last-sexp-arg-internal) | 565 (eval-last-sexp-1 eval-last-sexp-arg-internal) |
564 (let ((old-value (make-symbol "t")) new-value value) | 566 (let ((old-value eval-last-sexp-fake-value) new-value value) |
565 (let ((debug-on-error old-value)) | 567 (let ((debug-on-error old-value)) |
566 (setq value (eval-last-sexp-1 eval-last-sexp-arg-internal)) | 568 (setq value (eval-last-sexp-1 eval-last-sexp-arg-internal)) |
567 (setq new-value debug-on-error)) | 569 (setq new-value debug-on-error)) |
568 (unless (eq old-value new-value) | 570 (unless (eq old-value new-value) |
569 (setq debug-on-error new-value)) | 571 (setq debug-on-error new-value)) |