We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type
1 parent df67e0e commit 725f15dCopy full SHA for 725f15d
phpactor.el
@@ -157,9 +157,10 @@
157
(replace_file_source . phpactor-action-replace-file-source)))
158
159
;; Helper functions:
160
-(cl-defun phpactor--action-input-parameters (type &key default label choices)
+(cl-defun phpactor--action-input-parameters (value-type &key default label choices type)
161
"Request user input by parameters."
162
- (let ((use-dialog-box nil))
+ (let ((use-dialog-box nil)
163
+ (type (if type (intern type) value-type)))
164
(cl-case type
165
(file (read-file-name label nil default))
166
(text (read-string label default))
0 commit comments