Bläddra i källkod

Remove highlight-mark

master
10sr 4 år sedan
förälder
incheckning
39b7b10f9a
Signerad av: 10sr GPG-nyckel ID: C384BB17CBB19347
1 ändrade filer med 0 tillägg och 17 borttagningar
  1. +0
    -17
      emacs.el

+ 0
- 17
emacs.el Visa fil

@@ -2937,23 +2937,6 @@ Any output will be written to current buffer."
)
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; highlight-mark

(defvar-local highlight-mark-last-mark-position nil
"Last mark object.")

(defun highlight-mark-post-command ()
"Update highlight mark on mark change."
(unless (eq (mark t)
highlight-mark-last-mark-position)
(setq highlight-mark-last-mark-position (mark t))
(message "Mark changed! %S"
highlight-mark-last-mark-position)))

(add-hook 'post-command-hook
'highlight-mark-post-command)

;;;;;;;;;;;;;;
;; mmv
;; https://www.emacswiki.org/emacs/MakingMarkVisible


Laddar…
Avbryt
Spara