summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-18 20:34:01 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-18 20:34:01 -0700
commitaaf282e3588fc832cb804da3913519d61c0cca46 (patch)
treed743f6f7f1aec31ac2f0c51f14c4bf2b75850868
parent4fc7e87ea658c95e07c77ce11819674def9bb6c4 (diff)
downloaddotfiles-aaf282e3588fc832cb804da3913519d61c0cca46.tar.gz
set new copy-region-blink-delay
-rw-r--r--.emacs.d/init-spw.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index 6eae3822..82ecbd82 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -420,7 +420,9 @@ I use by default)."
(with-eval-after-load 'slime-presentations
(spw/remap-mark-command 'slime-mark-presentation slime-editing-map))
-(fset 'indicate-copied-region #'ignore)
+(if (>= emacs-major-version 28)
+ (setq copy-region-blink-delay 0)
+ (fset 'indicate-copied-region #'ignore))
(setq disabled-command-function nil)