Add documentation strings

This commit is contained in:
Gerard Vermeulen 2021-12-13 12:11:03 +01:00
parent d010929f49
commit 432b7e7950
1 changed files with 2 additions and 0 deletions

View File

@ -547,6 +547,7 @@ previous input in the minibuffer.
;; Adapted from minibuffer-complete:
(defun my-minibuffer-complete-history ()
"Allow minibuffer completion on previous input."
(interactive)
(completion-in-region (minibuffer--completion-prompt-end) (point-max)
(symbol-value minibuffer-history-variable)
@ -1191,6 +1192,7 @@ Python org-mode edit-buffers in ~anaconda-mode~.
(when (and (fboundp 'my-disable-anaconda-mode)
(fboundp 'my-enable-anaconda-mode))
(defun my-toggle-anaconda-mode ()
"Toggle anaconda-mode with bells and whistles."
(interactive)
(if (bound-and-true-p anaconda-mode)
(my-disable-anaconda-mode)