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.
1 parent 8bd39b9 commit cf84f85Copy full SHA for cf84f85
cider-common.el
@@ -123,8 +123,9 @@ Use CALLBACK as the completing read var callback."
123
(defun cider-try-symbol-at-point (prompt callback)
124
"Call CALLBACK with symbol at point.
125
On failure, read a symbol name using PROMPT and call CALLBACK with that."
126
- (condition-case nil (funcall callback (cider--kw-to-symbol (cider-symbol-at-point 'look-back)))
127
- ('error (funcall callback (cider-read-from-minibuffer prompt)))))
+ (condition-case nil
+ (funcall callback (cider--kw-to-symbol (cider-symbol-at-point 'look-back)))
128
+ (error (funcall callback (cider-read-from-minibuffer prompt)))))
129
130
(declare-function cider-mode "cider-mode")
131
0 commit comments