quash errors
This commit is contained in:
parent
e92d04557b
commit
c8b68920aa
7
p11k.el
7
p11k.el
@ -15,6 +15,7 @@
|
|||||||
;; - right-aligned elements (time display) get pushed to new line when `word-wrap' t
|
;; - right-aligned elements (time display) get pushed to new line when `word-wrap' t
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
(require 'isearch)
|
||||||
(require 'f)
|
(require 'f)
|
||||||
(require 'dash)
|
(require 'dash)
|
||||||
(require 'eshell-prompt-extras)
|
(require 'eshell-prompt-extras)
|
||||||
@ -299,7 +300,7 @@ Use 'window-width' to calculate the total final width."
|
|||||||
(24 (format-time-string "%H:%M"))
|
(24 (format-time-string "%H:%M"))
|
||||||
;; (12 (format-time-string "%I:%M:%S %p"))
|
;; (12 (format-time-string "%I:%M:%S %p"))
|
||||||
;; (24 (format-time-string "%H:%M:%S"))
|
;; (24 (format-time-string "%H:%M:%S"))
|
||||||
(t "[bad time type]"))
|
(_ "[bad time type]"))
|
||||||
'face 'p11k/cyan))
|
'face 'p11k/cyan))
|
||||||
""))
|
""))
|
||||||
(status-str (epe-status #'p11k/status-formatter)))
|
(status-str (epe-status #'p11k/status-formatter)))
|
||||||
@ -322,7 +323,9 @@ Use 'window-width' to calculate the total final width."
|
|||||||
(point-max)
|
(point-max)
|
||||||
(point-at-eol)))
|
(point-at-eol)))
|
||||||
(defun p11k/modal-caret (&optional throwaway)
|
(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-match-data
|
||||||
(save-mark-and-excursion
|
(save-mark-and-excursion
|
||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
|
Loading…
Reference in New Issue
Block a user