Skip to content

Commit

Permalink
Switch to grave quotes for consistency with other places
Browse files Browse the repository at this point in the history
  • Loading branch information
Malabarba committed Feb 6, 2016
1 parent cbe74f0 commit 0758324
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cider-macroexpansion.el
Expand Up @@ -108,29 +108,29 @@ This variable specifies both what was expanded and the expander.")

;;;###autoload
(defun cider-macroexpand-1 (&optional prefix)
"Invoke \\='macroexpand-1\\=' on the expression preceding point.
If invoked with a PREFIX argument, use \\='macroexpand\\=' instead of
\\='macroexpand-1\\='."
"Invoke \\=`macroexpand-1\\=` on the expression preceding point.
If invoked with a PREFIX argument, use \\=`macroexpand\\=` instead of
\\=`macroexpand-1\\=`."
(interactive "P")
(let ((expander (if prefix "macroexpand" "macroexpand-1")))
(cider-macroexpand-expr expander (cider-last-sexp))))

(defun cider-macroexpand-1-inplace (&optional prefix)
"Perform inplace \\='macroexpand-1\\=' on the expression preceding point.
If invoked with a PREFIX argument, use \\='macroexpand\\=' instead of
\\='macroexpand-1\\='."
"Perform inplace \\=`macroexpand-1\\=` on the expression preceding point.
If invoked with a PREFIX argument, use \\=`macroexpand\\=` instead of
\\=`macroexpand-1\\=`."
(interactive "P")
(let ((expander (if prefix "macroexpand" "macroexpand-1")))
(cider-macroexpand-expr-inplace expander)))

;;;###autoload
(defun cider-macroexpand-all ()
"Invoke \\='clojure.walk/macroexpand-all\\=' on the expression preceding point."
"Invoke \\=`clojure.walk/macroexpand-all\\=` on the expression preceding point."
(interactive)
(cider-macroexpand-expr "macroexpand-all" (cider-last-sexp)))

(defun cider-macroexpand-all-inplace ()
"Perform inplace \\='clojure.walk/macroexpand-all\\=' on the expression preceding point."
"Perform inplace \\=`clojure.walk/macroexpand-all\\=` on the expression preceding point."
(interactive)
(cider-macroexpand-expr-inplace "macroexpand-all"))

Expand Down

0 comments on commit 0758324

Please sign in to comment.