Skip to content

Commit

Permalink
Rename `get-additional-arg' to 'prompt-for-additional-arg'
Browse files Browse the repository at this point in the history
  • Loading branch information
mwitmer committed Feb 4, 2014
1 parent 474c0d0 commit 85bbdd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/guile-wm/module/minibuffer.scm
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
continue-minibuffer confirm-minibuffer cancel-minibuffer
(empty-text-edit-data))))

(define (get-additional-arg arg-name type)
(define-public (prompt-for-additional-arg arg-name type)
(minibuffer (format #f "~a [~a]: " arg-name (keyword->symbol type))))

(define-command (prompt-for-eval)
Expand All @@ -130,7 +130,7 @@ result."
(define-command (prompt-for-command)
"Prompt for a Guile-WM command and run it."
(define cmd (minibuffer "command: "))
(if (not (unspecified? cmd)) (run-command cmd get-additional-arg)))
(if (not (unspecified? cmd)) (run-command cmd prompt-for-additional-arg)))

(define-command (prompt-for-shell-command)
"Prompt for a shell command and run it."
Expand Down

0 comments on commit 85bbdd1

Please sign in to comment.