mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
nit: fix several documentation typos
This commit is contained in:
committed by
Henrik Lissner
parent
85fcac4562
commit
e5213f20e5
@@ -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))
|
||||
|
Reference in New Issue
Block a user