[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/lisp-mode.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/lisp-mode.el |
Date: |
Sat, 29 May 2004 11:40:59 -0400 |
Index: emacs/lisp/emacs-lisp/lisp-mode.el
diff -c emacs/lisp/emacs-lisp/lisp-mode.el:1.158
emacs/lisp/emacs-lisp/lisp-mode.el:1.159
*** emacs/lisp/emacs-lisp/lisp-mode.el:1.158 Fri May 28 21:09:05 2004
--- emacs/lisp/emacs-lisp/lisp-mode.el Sat May 29 15:33:30 2004
***************
*** 470,476 ****
(cond
((memq c '(?\; ?\( ?\) ?\{ ?\} ?\[ ?\] ?\" ?\' ?\\)) (string ?\\ c))
((eq c 127) "\\C-?")
! (t (string c)))))))
(defun eval-last-sexp-1 (eval-last-sexp-arg-internal)
"Evaluate sexp before point; print value in minibuffer.
--- 470,479 ----
(cond
((memq c '(?\; ?\( ?\) ?\{ ?\} ?\[ ?\] ?\" ?\' ?\\)) (string ?\\ c))
((eq c 127) "\\C-?")
! (t
! (condition-case nil
! (string c)
! (error nil))))))))
(defun eval-last-sexp-1 (eval-last-sexp-arg-internal)
"Evaluate sexp before point; print value in minibuffer.
***************
*** 538,546 ****
end)
(prog1
(prin1 value)
! (if (eq standard-output t)
! (let ((str (eval-expression-print-format value)))
! (if str (princ str))))
(setq end (point))
(when (and (bufferp standard-output)
(or (not (null print-length))
--- 541,548 ----
end)
(prog1
(prin1 value)
! (let ((str (eval-expression-print-format value)))
! (if str (princ str)))
(setq end (point))
(when (and (bufferp standard-output)
(or (not (null print-length))