diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/ert.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b676835bfef..b43b7bc61d1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-04 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/ert.el (ert--explain-format-atom): | ||
| 4 | Don't try to print non-characters as characters. (Bug#13543) | ||
| 5 | |||
| 1 | 2013-02-03 Michael Albinus <michael.albinus@gmx.de> | 6 | 2013-02-03 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * net/tramp.el (tramp-debug-message): Extend function exclude list. | 8 | * net/tramp.el (tramp-debug-message): Extend function exclude list. |
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index dd849362228..7df3acccbc9 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el | |||
| @@ -568,7 +568,8 @@ failed." | |||
| 568 | (defun ert--explain-format-atom (x) | 568 | (defun ert--explain-format-atom (x) |
| 569 | "Format the atom X for `ert--explain-equal'." | 569 | "Format the atom X for `ert--explain-equal'." |
| 570 | (cl-typecase x | 570 | (cl-typecase x |
| 571 | (fixnum (list x (format "#x%x" x) (format "?%c" x))) | 571 | (character (list x (format "#x%x" x) (format "?%c" x))) |
| 572 | (fixnum (list x (format "#x%x" x))) | ||
| 572 | (t x))) | 573 | (t x))) |
| 573 | 574 | ||
| 574 | (defun ert--explain-equal-rec (a b) | 575 | (defun ert--explain-equal-rec (a b) |