mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
General cleanup, refactor and documentation
This commit is contained in:
@@ -19,15 +19,18 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-sh (&rest args)
|
||||
"Runs a shell command and prints any output to the DOOM buffer.")
|
||||
"Runs a shell command and prints any output to the DOOM buffer."
|
||||
(error "doom-sh not implemented yet"))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-async-sh (&rest args))
|
||||
(defun doom-async-sh (&rest args)
|
||||
"Like `doom-sh', but runs command asynchronously."
|
||||
(error "doom-async-sh not implemented yet"))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-sudo (&rest args)
|
||||
"Runs a shell command as admin, prompting for a password. Prints any output to
|
||||
the DOOM buffer.")
|
||||
"Like `doom-sh', but runs as root (prompts for password)."
|
||||
(error "doom-sudo not implemented yet"))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-fetch (fetcher location dest)
|
||||
|
@@ -68,7 +68,6 @@
|
||||
("*Shell Command Output*" :size 20 :noselect t :autokill t)
|
||||
("*Occur*" :size 25 :noselect t :autokill t)
|
||||
(compilation-mode :size 15 :noselect t :noesc t :autokill t)
|
||||
(ivy-occur-grep-mode :size 25 :noesc t)
|
||||
(eww-mode :size 30)
|
||||
(comint-mode :noesc t)
|
||||
(tabulated-list-mode :noesc t)))
|
||||
@@ -83,7 +82,7 @@
|
||||
|
||||
(defun doom*shackle-always-align (plist)
|
||||
"Ensure popups are always aligned and selected by default. Eliminates the need
|
||||
for the obvious :align t on every rule."
|
||||
for :align t on every rule."
|
||||
(when plist
|
||||
(unless (plist-member plist :align)
|
||||
(plist-put plist :align t))
|
||||
|
Reference in New Issue
Block a user