aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-12-03 18:20:27 -0500
committerStefan Monnier2010-12-03 18:20:27 -0500
commit7f0ea0ffc90f140cd6e19bc2adb25eb87f3e90d9 (patch)
treec71711e3c40a45e641d3fad31195a3b0c7a94c77
parentee9355dcc84ecd5ef2a012206498b7ef00d06675 (diff)
downloademacs-7f0ea0ffc90f140cd6e19bc2adb25eb87f3e90d9.tar.gz
emacs-7f0ea0ffc90f140cd6e19bc2adb25eb87f3e90d9.zip
* lisp/subr.el (with-demoted-errors): Distinguish symbols from strings.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/subr.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 23d6130f2cb..d8aa0eb8398 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12010-12-03 Stefan Monnier <monnier@iro.umontreal.ca> 12010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4
3 * newcomment.el (comment-styles): Add docs to each style (bug#7509). 5 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4 Improve docstring. 6 Improve docstring.
5 (comment-style): Use comment-styles's docs to describe values. 7 (comment-style): Use comment-styles's docs to describe values.
diff --git a/lisp/subr.el b/lisp/subr.el
index 70d8b76faa5..ff65997c68c 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2816,7 +2816,7 @@ but which should be robust in the unexpected case that an error is signaled."
2816 (let ((err (make-symbol "err"))) 2816 (let ((err (make-symbol "err")))
2817 `(condition-case-no-debug ,err 2817 `(condition-case-no-debug ,err
2818 (progn ,@body) 2818 (progn ,@body)
2819 (error (message "Error: %s" ,err) nil)))) 2819 (error (message "Error: %S" ,err) nil))))
2820 2820
2821(defmacro combine-after-change-calls (&rest body) 2821(defmacro combine-after-change-calls (&rest body)
2822 "Execute BODY, but don't call the after-change functions till the end. 2822 "Execute BODY, but don't call the after-change functions till the end.