1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00

(last-sexp-toggle-display): Fixed cursor position when toggle abbreviated

display.
This commit is contained in:
Eli Zaretskii 2007-01-20 15:43:48 +00:00
parent 2d5ed88d31
commit f56cd1335c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-20 Alin C. Soare <alinsoar@voila.fr> (tiny change)
* lisp/emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Fixed
cursor position when toggle abbreviated display.
2007-01-20 Nick Roberts <nickrob@snap.net.nz>
* t-mouse.el: Update copyright following assignment by

View File

@ -490,6 +490,8 @@ alternative printed representations that can be displayed."
(point (point)))
(delete-region beg end)
(insert (nth 1 value))
(or (= beg point)
(setq point (1- (point))))
(last-sexp-setup-props beg (point)
(nth 0 value)
(nth 2 value)