diff options
| author | Emanuel Evans <emanuel.evans@gmail.com> | 2014-07-08 11:05:35 -0700 |
|---|---|---|
| committer | Emanuel Evans <emanuel.evans@gmail.com> | 2014-07-08 11:05:35 -0700 |
| commit | 04b9a7096780dea2068149c945e698c72458819f (patch) | |
| tree | 65f2f1613fe9442e5a7e63a4f912f58d614354d2 /evil-command-window.el | |
| parent | 92ed8a669f3b67bba9b2ed5210eab87779573ed8 (diff) | |
Minor documentation fixes
Diffstat (limited to 'evil-command-window.el')
| -rw-r--r-- | evil-command-window.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/evil-command-window.el b/evil-command-window.el index 8e713e5..d005815 100644 --- a/evil-command-window.el +++ b/evil-command-window.el @@ -67,7 +67,9 @@ execute on the result that the user selects." (evil-command-window-insert-commands hist)) (defun evil-command-window-ex (&optional current-command) - "Open a command line window for editing and executing ex commands." + "Open a command line window for editing and executing ex commands. +If CURRENT-COMMAND is present, it will be inserted under the +cursor as the current command to be edited." (interactive) (evil-command-window (cons (or current-command " ") evil-ex-history) ":" @@ -99,7 +101,8 @@ function to execute." (setq evil-ex-history (cons result evil-ex-history))))) (defun evil-command-window-draw-prefix (&rest ignored) - "Display CMD-KEY as a prefix to the current line." + "Display `evil-command-window-cmd-key' as a prefix to the current line. +Parameters passed in through IGNORED are ignored." (let ((prefix (propertize evil-command-window-cmd-key 'font-lock-face 'minibuffer-prompt))) (set-text-properties (line-beginning-position) (line-end-position) |
