Function: dirvish-post-command-h

dirvish-post-command-h is a natively compiled function defined in dirvish.el.

Signature

(dirvish-post-command-h)

Documentation

Reset cursor shape and position and update preview.

Source Code

;; Defined in /nix/store/1gijwny2yx4fggrsb9l110h1ybs1gdk5-emacs-packages-deps/share/emacs/site-lisp/elpa/dirvish-20260725.1520/dirvish.el
(defun dirvish-post-command-h ()
  "Reset cursor shape and position and update preview."
  (cond ((not (dirvish--apply-hiding-p dirvish-hide-cursor)))
        ((eobp) (forward-line -1))
        ((cdr dired-subdir-alist))
        ((and (bobp) dirvish-use-header-line)
         (goto-char (dirvish-prop :content-begin)))))