Minor, general refactors
Also rename custom lookup handlers for consistency and use the new inline :async property instead.
This commit is contained in:
parent
d17764366e
commit
1c976dc0e4
6 changed files with 18 additions and 13 deletions
|
@ -1,5 +1,17 @@
|
|||
;;; lang/clojure/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +clojure-cider-lookup-definition (identifier)
|
||||
"A lookup handler for `cider-mode'.
|
||||
|
||||
This is necessary to fix `cider-find-dwim's inability to capture the full symbol
|
||||
at point."
|
||||
(cider-find-dwim identifier))
|
||||
|
||||
|
||||
;;
|
||||
;;; Commands
|
||||
|
||||
;;;###autoload
|
||||
(defun +clojure/repl (&optional arg)
|
||||
"Open a Cider REPL and return the buffer."
|
||||
|
@ -12,9 +24,3 @@
|
|||
"TODO"
|
||||
(interactive)
|
||||
(cider-switch-to-repl-buffer t))
|
||||
|
||||
;;;###autoload
|
||||
(defun +clojure-lookup-symbol (identifier)
|
||||
"A lookup handler for `cider-find-dwim'.
|
||||
This is necessary to fix its inability to capture the full symbol at point."
|
||||
(cider-find-dwim identifier))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue