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:
parent
2d5ed88d31
commit
f56cd1335c
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user