Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion listing-codesearch.el
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ clickable buttons that link to the matched file/line-number.
"Search files matching `file-pattern'in the index for `pattern'."
(interactive
(list
(read-string "Pattern: " (thing-at-point 'symbol)
; default to word full match
(read-string "Pattern: " (format "\\b%s\\b" (thing-at-point 'symbol))
'listing-codesearch-pattern-history (car listing-codesearch-pattern-history))
(read-string "File pattern: " ".*"
'listing-codesearch-file-pattern-history (car listing-codesearch-file-pattern-history))))
Expand Down