Improve docstrings/prompts
This commit is contained in:
parent
5663e98177
commit
fe918fbf36
4
init.el
4
init.el
@ -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*")
|
||||
|
Loading…
Reference in New Issue
Block a user