Function: denote-query-focus-last-search

denote-query-focus-last-search is an interactive and byte-compiled function defined in denote.el.

Signature

(denote-query-focus-last-search QUERY)

Documentation

Search QUERY in the content of files in the current Denote query buffer.

A query buffer is one that contains the results of commands such as denote-grep, denote-backlinks, denote-query-contents-link, or, generally, any command that relies on the denote-make-links-buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-query-focus-last-search (query)
  "Search QUERY in the content of files in the current Denote query buffer.
A query buffer is one that contains the results of commands such as
`denote-grep', `denote-backlinks', `denote-query-contents-link', or,
generally, any command that relies on the `denote-make-links-buffer'."
  (interactive
   (or (denote--user-error-if-not-major-mode 'denote-query-mode)
       (list (denote-query-prompt :focus)))
   denote-query-mode)
  (denote--user-error-if-not-major-mode 'denote-query-mode)
  (denote-make-links-buffer query denote-query--last-files nil '(display-buffer-same-window))
  (message "Searching `%s' in files: `%S'" query denote-query--last-files))