[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/do-at-point dc34b76d8c 41/44: Allow customising the fac
From: |
ELPA Syncer |
Subject: |
[elpa] externals/do-at-point dc34b76d8c 41/44: Allow customising the face used for selection |
Date: |
Fri, 25 Aug 2023 18:57:48 -0400 (EDT) |
branch: externals/do-at-point
commit dc34b76d8cd06540f503f05c0e2a0a9e90b55075
Author: Philip Kaludercic <philip.kaludercic@fau.de>
Commit: Philip Kaludercic <philip.kaludercic@fau.de>
Allow customising the face used for selection
---
do-at-point.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/do-at-point.el b/do-at-point.el
index 82d2e063d9..a2b93a2fdf 100644
--- a/do-at-point.el
+++ b/do-at-point.el
@@ -5,7 +5,7 @@
;; Author: Philip Kaludercic <philipk@posteo.net>
;; Maintainer: Philip Kaludercic <philipk@posteo.net>
;; URL: https://wwwcip.cs.fau.de/~oj14ozun/src+etc/do-at-point.el
-;; Version: $Id: do-at-point.el,v 1.39 2023/08/25 19:10:59 oj14ozun Exp
oj14ozun $
+;; Version: $Id: do-at-point.el,v 1.40 2023/08/25 19:11:27 oj14ozun Exp
oj14ozun $
;; Package-Version: 1
;; Package-Requires: ((emacs "26.1"))
;; Keywords: convenience
@@ -150,6 +150,10 @@ Quick bindings allow for the user to operate on a selection
without having to have confirmed the first."
:type 'boolean)
+(defcustom do-at-point-selection-face 'highlight
+ "Face to use to highlight the selected thing."
+ :type 'face)
+
(defvar do-at-point--quick-map (make-sparse-keymap))
(defun do-at-point--actions (thing)
@@ -300,7 +304,7 @@ instead."
:interactive nil
(if do-at-point--mode
(let ((ov (let ((ov (make-overlay 0 0)))
- (overlay-put ov 'face 'highlight)
+ (overlay-put ov 'face do-at-point-selection-face)
(delete-overlay ov)
ov)))
(overlay-put ov 'do-at-point-key last-command-event)
- [elpa] externals/do-at-point 90d1791961 20/44: Remove partial sentence from 'do-at-point-quick-bindings' docstring, (continued)
- [elpa] externals/do-at-point 90d1791961 20/44: Remove partial sentence from 'do-at-point-quick-bindings' docstring, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 4a585ea1a5 22/44: Ensure 'do-at-point--overlay' as an initial value, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point f466280172 28/44: Mark 'do-at-point--actions-type' as internal, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 5c36d999aa 30/44: Reorder action variables/user-option to reflect their priority, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 1de25e7d7b 33/44: Remove duplicate newline, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 5b4ed8454e 34/44: Add write-region to region actions, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point f04fcfd90c 35/44: Improve interference avoidance between buffer local overlays, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point fedb874439 37/44: Print a message indicating C-RET to select an action, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 08928d2465 36/44: Delete overlay on leaving 'do-at-point--mode', ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 259a1a0076 39/44: Use 'shell-command+' if available, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point dc34b76d8c 41/44: Allow customising the face used for selection,
ELPA Syncer <=
- [elpa] externals/do-at-point 6cfc8ade2c 40/44: Invoke wget with useful arguments, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 0949bbfe87 42/44: Add basic administrative files, ELPA Syncer, 2023/08/25