4
好像改變緩衝以任何方式激活標誌的問題,從激活的標記停止defun定義:Emacs的:在一個交互式命令
(defun mark-five-next()
"Marks the next five chars as expected"
(interactive)
(push-mark (+ 5 (point)) t t))
(defun insert-an-a-then-mark-five-next()
"Does not mark the next five chars"
(interactive)
(insert "a")
(push-mark (+ 5 (point)) t t))
我喜歡的方式來解決這個問題,但只是一個解釋也很好。