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)
(if (not (buffer-modified-p))
(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))))
(defun open-scratch-buffer ()
@ -315,7 +315,7 @@
(lisp-interaction-mode))))
(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)
(if (get-buffer "*terminal*")
(switch-to-buffer "*terminal*")