diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce8c9aba4bd..60640ca163b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2001-11-04 Richard M. Stallman <rms@gnu.org> | 1 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if | ||
| 4 | previous-single-property-change or next-single-char-property-change | ||
| 5 | returns nil. | ||
| 6 | |||
| 3 | * international/mule-cmds.el (set-locale-environment): | 7 | * international/mule-cmds.el (set-locale-environment): |
| 4 | Make it interactive; make arg optional. | 8 | Make it interactive; make arg optional. |
| 5 | 9 | ||
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index ed25088a93d..34321783b81 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -406,8 +406,8 @@ alternative printed representations that can be displayed." | |||
| 406 | (interactive) | 406 | (interactive) |
| 407 | (let ((value (get-text-property (point) 'printed-value))) | 407 | (let ((value (get-text-property (point) 'printed-value))) |
| 408 | (when value | 408 | (when value |
| 409 | (let ((beg (previous-single-property-change (point) 'printed-value)) | 409 | (let ((beg (or (previous-single-property-change (point) 'printed-value) (point))) |
| 410 | (end (next-single-char-property-change (point) 'printed-value)) | 410 | (end (or (next-single-char-property-change (point) 'printed-value) (point))) |
| 411 | (standard-output (current-buffer)) | 411 | (standard-output (current-buffer)) |
| 412 | (point (point))) | 412 | (point (point))) |
| 413 | (delete-region beg end) | 413 | (delete-region beg end) |