diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-10-21 23:36:07 +0100 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-10-21 23:36:07 +0100 |
commit | 4210c4d076f4b91585b5621d2b64097ae2483c55 (patch) | |
tree | 9f6cfc3566e07845795cc60d75e5f7b9bc9c44e7 /cider-grimoire.el | |
parent | 33263a858cd4aa228f990cfc82e64a9a7a3b3c0a (diff) |
Normalize the usage of if/when-let with that of let
Diffstat (limited to 'cider-grimoire.el')
-rw-r--r-- | cider-grimoire.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-grimoire.el b/cider-grimoire.el index 8de916c4..82fe420e 100644 --- a/cider-grimoire.el +++ b/cider-grimoire.el @@ -52,7 +52,7 @@ (defun cider-grimoire-web-lookup (symbol) "Look up the grimoire documentation for SYMBOL." - (if-let (var-info (cider-var-info symbol)) + (if-let ((var-info (cider-var-info symbol))) (let ((name (nrepl-dict-get var-info "name")) (ns (nrepl-dict-get var-info "ns"))) (browse-url (cider-grimoire-url name ns))) @@ -81,7 +81,7 @@ opposite of what that option dictates." (defun cider-grimoire-lookup (symbol) "Look up the grimoire documentation for SYMBOL." - (if-let (var-info (cider-var-info symbol)) + (if-let ((var-info (cider-var-info symbol))) (let ((name (nrepl-dict-get var-info "name")) (ns (nrepl-dict-get var-info "ns")) (url-request-method "GET") |