Browse Source

Update visible-mark config

master
10sr 4 years ago
parent
commit
46b468c819
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      emacs.el

+ 10
- 2
emacs.el View File

@@ -529,7 +529,10 @@ Otherwize hook it."
(add-to-list 'ivy-sort-functions-alist
'(counsel-mark-ring)))
(run-with-idle-timer 10 t
'push-mark)
(lambda ()
(push-mark)
(when (fboundp 'visible-mark-move-overlays)
(visible-mark-move-overlays))))

(when (fboundp 'back-button-mode)
(back-button-mode 1))
@@ -540,7 +543,7 @@ Otherwize hook it."

(when (fboundp 'global-visible-mark-mode)
(set-variable 'visible-mark-max 2)
(set-variable 'visible-mark-faces '(visible-mark-face1 visible-mark-face2))
;; (set-variable 'visible-mark-faces '(visible-mark-face1 visible-mark-face2))

;; http://emacs.rubikitch.com/visible-mark/
;; transient-mark-modeでC-SPC C-SPC、あるいはC-SPC C-gすると消えるバグ修正
@@ -555,6 +558,11 @@ THEM are function and its args."

(global-visible-mark-mode 1))

;; visible-mark-mode
;; visible-mark-overlays
;; mark-ring
;; (equal mark-ring (cl-copy-list mark-ring))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; title and mode-line



Loading…
Cancel
Save