From 39b7b10f9adb1c7b3b67d3df696ecc7f1933d1bc Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 28 Jan 2020 00:07:30 +0900 Subject: [PATCH] Remove highlight-mark --- emacs.el | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/emacs.el b/emacs.el index 8171038..75217ee 100644 --- a/emacs.el +++ b/emacs.el @@ -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