File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ then ask for the string interactively instead."
250250 result))))
251251 result))))
252252
253- (defun boon-select-word -occurences (what-fun where )
253+ (defun boon-select-symbol -occurences (what-fun where )
254254 " Return the occurences of WHAT-FUN as sub-regions of WHERE."
255255 (interactive (list (boon-spec-string-lazy " occurences of what?" ) (boon-spec-selector " where?" )))
256256 (lambda ()
@@ -261,9 +261,9 @@ then ask for the string interactively instead."
261261 (goto-char (boon-reg-begin reg))
262262 (while (search-forward-regexp
263263 (rx-to-string
264- `(seq word -start
264+ `(seq symbol -start
265265 (literal , what )
266- word -end)
266+ symbol -end)
267267 t )
268268 (boon-reg-end reg) t )
269269 (setq result (cons (boon-mk-reg (match-beginning 0 )
Original file line number Diff line number Diff line change 4848(define-key boon-x-map " N" 'widen )
4949
5050(define-key boon-select-map " @" 'boon-select-occurences )
51- (define-key boon-select-map " *" 'boon-select-word -occurences )
51+ (define-key boon-select-map " *" 'boon-select-symbol -occurences )
5252(define-key boon-select-map " #" 'boon-select-all )
5353(define-key boon-select-map " " 'boon-select-line )
5454(define-key boon-select-map " \" " 'boon-select-outside-quotes )
You can’t perform that action at this time.
0 commit comments