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))

View file

@ -1,6 +1,6 @@
;;; config/default/+emacs-bindings.el -*- lexical-binding: t; -*-
;; Sensible deafult key bindings for non-evil users
;; Sensible default key bindings for non-evil users
(setq doom-leader-alt-key "C-c"
doom-localleader-alt-key "C-c l")

View file

@ -103,7 +103,7 @@ we have to clean it up ourselves."
(local-unset-key [mouse-1]))))
(defadvice! +dired--ranger-travel-a ()
"Temprorary fix for this function until ralesi/ranger.el#236 gets merged."
"Temporary fix for this function until ralesi/ranger.el#236 gets merged."
:override #'ranger-travel
(interactive)
(let ((prompt "Travel: "))

View file

@ -32,7 +32,7 @@
(+workspace/delete "*MAIL*")))
(defun +notmuch-get-sync-command ()
"Return a shell command string to synchronize your notmuch mmail with."
"Return a shell command string to synchronize your notmuch mail with."
(let* ((afew-cmd "afew -a -t")
(sync-cmd
(pcase +notmuch-sync-backend