diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c71ac75f2fc..b69c0e43a20 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-01-20 Alin C. Soare <alinsoar@voila.fr> (tiny change) | ||
| 2 | |||
| 3 | * lisp/emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Fixed | ||
| 4 | cursor position when toggle abbreviated display. | ||
| 5 | |||
| 1 | 2007-01-20 Nick Roberts <nickrob@snap.net.nz> | 6 | 2007-01-20 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 7 | ||
| 3 | * t-mouse.el: Update copyright following assignment by | 8 | * t-mouse.el: Update copyright following assignment by |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index a58ecb256ac..3a501ea85c1 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -490,6 +490,8 @@ alternative printed representations that can be displayed." | |||
| 490 | (point (point))) | 490 | (point (point))) |
| 491 | (delete-region beg end) | 491 | (delete-region beg end) |
| 492 | (insert (nth 1 value)) | 492 | (insert (nth 1 value)) |
| 493 | (or (= beg point) | ||
| 494 | (setq point (1- (point)))) | ||
| 493 | (last-sexp-setup-props beg (point) | 495 | (last-sexp-setup-props beg (point) |
| 494 | (nth 0 value) | 496 | (nth 0 value) |
| 495 | (nth 2 value) | 497 | (nth 2 value) |