1

Improve docstrings/prompts

This commit is contained in:
Jessie Hildebrandt 2022-06-12 21:17:05 -04:00
parent 5663e98177
commit fe918fbf36

View File

@ -302,7 +302,7 @@
(interactive) (interactive)
(if (not (buffer-modified-p)) (if (not (buffer-modified-p))
(revert-buffer :ignore-auto :noconfirm) (revert-buffer :ignore-auto :noconfirm)
(when (yes-or-no-p "The contents of this buffer have been modified. Really revert? ") (when (yes-or-no-p "The contents of this buffer have been modified. Really revert? ")
(revert-buffer :ignore-auto :noconfirm)))) (revert-buffer :ignore-auto :noconfirm))))
(defun open-scratch-buffer () (defun open-scratch-buffer ()
@ -315,7 +315,7 @@
(lisp-interaction-mode)))) (lisp-interaction-mode))))
(defun open-default-shell () (defun open-default-shell ()
"Opens the default system shell in a terminal emulator, opening existing shell session if present." "Opens the default shell in an `ansi-term' buffer, switching to existing buffer if present."
(interactive) (interactive)
(if (get-buffer "*terminal*") (if (get-buffer "*terminal*")
(switch-to-buffer "*terminal*") (switch-to-buffer "*terminal*")