Function: denote-dired-empty-mode

denote-dired-empty-mode is a byte-compiled function defined in denote.el.

Signature

(denote-dired-empty-mode)

Documentation

Major mode of a denote-sort-dired that no longer matches anything.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook denote-dired-empty-mode-hook, as the final or penultimate step during initialization.

k kill-buffer-and-window
q quit-window

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(define-derived-mode denote-dired-empty-mode special-mode "Denote Dired Empty"
  "Major mode of a `denote-sort-dired' that no longer matches anything."
  :interactive nil
  (let ((inhibit-read-only t))
    (erase-buffer)
    (delete-all-overlays)
    (insert (propertize "Denote Dired" 'face 'bold)
            "\n"
            (make-separator-line)
            "\n"
            (propertize "No more matching files" 'face 'warning))))