diff --git a/p11k.el b/p11k.el index ec453df..58bfdef 100644 --- a/p11k.el +++ b/p11k.el @@ -15,6 +15,7 @@ ;; - right-aligned elements (time display) get pushed to new line when `word-wrap' t ;;; Code: +(require 'isearch) (require 'f) (require 'dash) (require 'eshell-prompt-extras) @@ -299,7 +300,7 @@ Use 'window-width' to calculate the total final width." (24 (format-time-string "%H:%M")) ;; (12 (format-time-string "%I:%M:%S %p")) ;; (24 (format-time-string "%H:%M:%S")) - (t "[bad time type]")) + (_ "[bad time type]")) 'face 'p11k/cyan)) "")) (status-str (epe-status #'p11k/status-formatter))) @@ -322,7 +323,9 @@ Use 'window-width' to calculate the total final width." (point-max) (point-at-eol))) (defun p11k/modal-caret (&optional throwaway) - "Toggle the direction that the prompt points according to `p11k/get-modal-status'." + "Toggle the direction that the prompt points according to `p11k/get-modal-status'. + +THROWAWAY is unused for now." (save-match-data (save-mark-and-excursion (goto-char (point-max))