Skip to content

Commit

Permalink
chore: eliminate warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Oct 24, 2023
1 parent 6d2c16e commit 2dc5f00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doom-modeline-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,8 @@ Also see the face `doom-modeline-unread-number'."
;; Externals
;;

(defvar mode-line-right-align-edge)

(declare-function face-remap-remove-relative "face-remap")
(declare-function ffip-project-root "ext:find-file-in-project")
(declare-function project-root "project")
Expand Down Expand Up @@ -1445,7 +1447,7 @@ Return `default-directory' if no project was found."
buffer-file-name)))

(defun doom-modeline--format-buffer-file-truename (b-f-n)
"Get and format buffer file truename' via B-F-N."
"Get and format buffer file truename via B-F-N."
(let ((buffer-file-truename (file-local-name
(or (file-truename b-f-n) ""))))
(or (and doom-modeline-buffer-file-truename-function
Expand Down

0 comments on commit 2dc5f00

Please sign in to comment.