nit: fix several documentation typos
This commit is contained in:
parent
85fcac4562
commit
e5213f20e5
7 changed files with 9 additions and 9 deletions
|
@ -115,7 +115,7 @@ If no project is active, return all buffers."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-real-buffer-list (&optional buffer-list)
|
(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))))
|
(cl-remove-if-not #'doom-real-buffer-p (or buffer-list (doom-buffer-list))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
@ -221,7 +221,7 @@ will be automatically appended to the result."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/help-search (&optional initial-input)
|
(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)
|
(interactive)
|
||||||
(funcall (cond ((fboundp '+ivy-file-search)
|
(funcall (cond ((fboundp '+ivy-file-search)
|
||||||
#'+ivy-file-search)
|
#'+ivy-file-search)
|
||||||
|
|
|
@ -41,7 +41,7 @@ they are absolute."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/find-file-in-other-project (project-root)
|
(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
|
(interactive
|
||||||
(list
|
(list
|
||||||
(completing-read "Find file in project: " (projectile-relevant-known-projects))))
|
(completing-read "Find file in project: " (projectile-relevant-known-projects))))
|
||||||
|
@ -51,7 +51,7 @@ they are absolute."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/browse-in-other-project (project-root)
|
(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
|
(interactive
|
||||||
(list
|
(list
|
||||||
(completing-read "Browse in project: " (projectile-relevant-known-projects))))
|
(completing-read "Browse in project: " (projectile-relevant-known-projects))))
|
||||||
|
|
|
@ -205,12 +205,12 @@ TRIGGER-HOOK is a list of quoted hooks and/or sharp-quoted functions."
|
||||||
;;; Sugars
|
;;; Sugars
|
||||||
|
|
||||||
(defun dir! ()
|
(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!))
|
(when-let (path (file!))
|
||||||
(directory-file-name (file-name-directory path))))
|
(directory-file-name (file-name-directory path))))
|
||||||
|
|
||||||
(defun file! ()
|
(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))
|
(cond ((bound-and-true-p byte-compile-current-file))
|
||||||
(load-file-name)
|
(load-file-name)
|
||||||
((stringp (car-safe current-load-list))
|
((stringp (car-safe current-load-list))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
;;; config/default/+emacs-bindings.el -*- lexical-binding: t; -*-
|
;;; 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"
|
(setq doom-leader-alt-key "C-c"
|
||||||
doom-localleader-alt-key "C-c l")
|
doom-localleader-alt-key "C-c l")
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ we have to clean it up ourselves."
|
||||||
(local-unset-key [mouse-1]))))
|
(local-unset-key [mouse-1]))))
|
||||||
|
|
||||||
(defadvice! +dired--ranger-travel-a ()
|
(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
|
:override #'ranger-travel
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((prompt "Travel: "))
|
(let ((prompt "Travel: "))
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
(+workspace/delete "*MAIL*")))
|
(+workspace/delete "*MAIL*")))
|
||||||
|
|
||||||
(defun +notmuch-get-sync-command ()
|
(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")
|
(let* ((afew-cmd "afew -a -t")
|
||||||
(sync-cmd
|
(sync-cmd
|
||||||
(pcase +notmuch-sync-backend
|
(pcase +notmuch-sync-backend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue