浏览代码

Update visible-mark config

master
10sr 4 年前
父节点
当前提交
46b468c819
签署人:: 10sr GPG 密钥 ID: C384BB17CBB19347
共有 1 个文件被更改,包括 10 次插入2 次删除
  1. +10
    -2
      emacs.el

+ 10
- 2
emacs.el 查看文件

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



正在加载...
取消
保存