[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102580: * lisp/subr.el (with-demoted
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102580: * lisp/subr.el (with-demoted-errors): Distinguish symbols from strings. |
Date: |
Fri, 03 Dec 2010 18:20:27 -0500 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102580
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Fri 2010-12-03 18:20:27 -0500
message:
* lisp/subr.el (with-demoted-errors): Distinguish symbols from strings.
modified:
lisp/ChangeLog
lisp/subr.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-12-03 23:14:50 +0000
+++ b/lisp/ChangeLog 2010-12-03 23:20:27 +0000
@@ -1,5 +1,7 @@
2010-12-03 Stefan Monnier <address@hidden>
+ * subr.el (with-demoted-errors): Distinguish symbols from strings.
+
* newcomment.el (comment-styles): Add docs to each style (bug#7509).
Improve docstring.
(comment-style): Use comment-styles's docs to describe values.
=== modified file 'lisp/subr.el'
--- a/lisp/subr.el 2010-11-18 03:54:14 +0000
+++ b/lisp/subr.el 2010-12-03 23:20:27 +0000
@@ -2816,7 +2816,7 @@
(let ((err (make-symbol "err")))
`(condition-case-no-debug ,err
(progn ,@body)
- (error (message "Error: %s" ,err) nil))))
+ (error (message "Error: %S" ,err) nil))))
(defmacro combine-after-change-calls (&rest body)
"Execute BODY, but don't call the after-change functions till the end.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102580: * lisp/subr.el (with-demoted-errors): Distinguish symbols from strings.,
Stefan Monnier <=