nit: fix several documentation typos

This commit is contained in:
Lele Gaifax 2022-01-09 17:16:57 +01:00 committed by Henrik Lissner
parent 85fcac4562
commit e5213f20e5
7 changed files with 9 additions and 9 deletions

View file

@ -115,7 +115,7 @@ If no project is active, return all buffers."
;;;###autoload
(defun doom-real-buffer-list (&optional buffer-list)
"Return a list of buffers that satify `doom-real-buffer-p'."
"Return a list of buffers that satisfy `doom-real-buffer-p'."
(cl-remove-if-not #'doom-real-buffer-p (or buffer-list (doom-buffer-list))))
;;;###autoload

View file

@ -221,7 +221,7 @@ will be automatically appended to the result."
;;;###autoload
(defun doom/help-search (&optional initial-input)
"Preform a text search on all of Doom's documentation."
"Perform a text search on all of Doom's documentation."
(interactive)
(funcall (cond ((fboundp '+ivy-file-search)
#'+ivy-file-search)

View file

@ -41,7 +41,7 @@ they are absolute."
;;;###autoload
(defun doom/find-file-in-other-project (project-root)
"Preforms `projectile-find-file' in a known project of your choosing."
"Performs `projectile-find-file' in a known project of your choosing."
(interactive
(list
(completing-read "Find file in project: " (projectile-relevant-known-projects))))
@ -51,7 +51,7 @@ they are absolute."
;;;###autoload
(defun doom/browse-in-other-project (project-root)
"Preforms `find-file' in a known project of your choosing."
"Performs `find-file' in a known project of your choosing."
(interactive
(list
(completing-read "Browse in project: " (projectile-relevant-known-projects))))

View file

@ -205,12 +205,12 @@ TRIGGER-HOOK is a list of quoted hooks and/or sharp-quoted functions."
;;; Sugars
(defun dir! ()
"Returns the directory of the emacs lisp file this macro is called from."
"Returns the directory of the emacs lisp file this function is called from."
(when-let (path (file!))
(directory-file-name (file-name-directory path))))
(defun file! ()
"Return the emacs lisp file this macro is called from."
"Return the emacs lisp file this function is called from."
(cond ((bound-and-true-p byte-compile-current-file))
(load-file-name)
((stringp (car-safe current-load-list))