mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
(last-sexp-toggle-display): Fixed cursor position when toggle abbreviated
display.
This commit is contained in:
parent
2d5ed88d31
commit
f56cd1335c
2 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue