(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
|
@ -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