[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/do-at-point 767fe39d62 25/44: Rename 'do-at-point--shor
From: |
ELPA Syncer |
Subject: |
[elpa] externals/do-at-point 767fe39d62 25/44: Rename 'do-at-point--shortcut-map' to '--quick-map' |
Date: |
Fri, 25 Aug 2023 18:57:47 -0400 (EDT) |
branch: externals/do-at-point
commit 767fe39d629869ceb0b4ad03fe1f4deb14a23c17
Author: Philip Kaludercic <philip.kaludercic@fau.de>
Commit: Philip Kaludercic <philip.kaludercic@fau.de>
Rename 'do-at-point--shortcut-map' to '--quick-map'
---
do-at-point.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/do-at-point.el b/do-at-point.el
index b62efee370..f8bb8ee69f 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.23 2023/07/20 12:14:27 oj14ozun Exp
oj14ozun $
+;; Version: $Id: do-at-point.el,v 1.24 2023/07/20 12:18:53 oj14ozun Exp
oj14ozun $
;; Package-Version: 1
;; Package-Requires: ((emacs "26.1"))
;; Keywords: convenience
@@ -153,7 +153,7 @@ but not `do-at-point-user-actions'. Refer to the user
option
`do-at-point-actions' for details on the structure of the values
of this variable.")
-(defvar do-at-point--shortcut-map (make-sparse-keymap))
+(defvar do-at-point--quick-map (make-sparse-keymap))
(defun do-at-point--actions (thing)
"Return possible actions for THING.
@@ -265,11 +265,11 @@ value of the function is always the new \"thing\"."
(setq thing (or (cadr (memq thing things)) (car things)))
(prog1 (overlay-put do-at-point--overlay 'do-at-point-thing thing)
;; clear and reinitialise the shortcut map
- (setcdr do-at-point--shortcut-map nil)
+ (setcdr do-at-point--quick-map nil)
(when do-at-point-quick-bindings
(dolist (key (mapcar #'car (do-at-point--actions thing)))
- (define-key do-at-point--shortcut-map (vector key)
#'do-at-point-confirm))
- (define-key do-at-point--shortcut-map (kbd "<return>")
+ (define-key do-at-point--quick-map (vector key)
#'do-at-point-confirm))
+ (define-key do-at-point--quick-map (kbd "<return>")
#'do-at-point-confirm-quick))
(let ((default (cadar (do-at-point--actions thing))))
(message "Act on `%s' (%s by default)?" thing default))
@@ -284,7 +284,7 @@ The lighter depends on the current \"thing\" being
selected."
(defvar do-at-point--mode-map
(let ((map (make-sparse-keymap)))
- (set-keymap-parent map do-at-point--shortcut-map)
+ (set-keymap-parent map do-at-point--quick-map)
(define-key map (kbd "C-<return>") #'do-at-point-confirm)
(define-key map [remap keyboard-quit] #'do-at-point-quit)
(define-key map (kbd "M-n") #'do-at-point-forward)
- [elpa] externals/do-at-point 1bf742ffaf 11/44: Pass proper input to 'read-multiple-choice', (continued)
- [elpa] externals/do-at-point 1bf742ffaf 11/44: Pass proper input to 'read-multiple-choice', ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point ffd013c6d2 15/44: Add user option to disable quick bindings, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 26eba56f63 01/44: Initial revision, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 7073fc1917 07/44: Invert event loop to allow movement during selection, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point a6b52ebf53 08/44: Fix name-typo in "Embark" section, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point b25f8ff64e 12/44: Rebind browse-url from "f" to "b" for URLs, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point bfe1d53b31 19/44: Unbind RET from 'do-at-point--mode-map', ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 9d2ead6890 21/44: Fix 'do-at-point-actions-type' to work with inherited actions, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 0117be3619 23/44: Fix (require ...) for 'calc-embedded-word', ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point b2808685d4 24/44: Simplify 'calc-embedded' invocation, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 767fe39d62 25/44: Rename 'do-at-point--shortcut-map' to '--quick-map',
ELPA Syncer <=
- [elpa] externals/do-at-point b6d819a000 29/44: Note '-user-actions' and '-local-actions' in 'do-at-point-actions', ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point a01cee0d72 26/44: Do not set the face of 'do-at-point--overlay' twice, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 96bd54d507 32/44: Remove Embark section, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point ea332d68fd 31/44: Add a (require 'thingatpt), ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point eca9ef1a1a 27/44: Add 'line' to 'do-at-point-actions', ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 1fcda9286f 38/44: Reformat selection prompt, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 0fac1ce7fa 44/44: Consistently use spaces for indentation, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 539d5da7f4 43/44: Prepare package for ELPA release, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point 08ea7987aa 06/44: Note that 'do-at-point' is unrelated to completion, ELPA Syncer, 2023/08/25
- [elpa] externals/do-at-point ffa78a0a54 03/44: Add 'ispell-region' to region actions, ELPA Syncer, 2023/08/25