[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-mode 0b03238c41 1/2: Fix byte-compile warnings quo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-mode 0b03238c41 1/2: Fix byte-compile warnings quotes in docstring |
Date: |
Sat, 3 Sep 2022 02:58:24 -0400 (EDT) |
branch: elpa/clojure-mode
commit 0b03238c41c6de0bf666c313e645088ef3229113
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Fix byte-compile warnings quotes in docstring
---
clojure-mode.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/clojure-mode.el b/clojure-mode.el
index 30f6baca69..2a6d5c3cc0 100644
--- a/clojure-mode.el
+++ b/clojure-mode.el
@@ -802,12 +802,12 @@ Called by `imenu--generic-function'."
(eval-and-compile
(defconst clojure--sym-forbidden-rest-chars "][\";@\\^`~\(\)\{\}\\,\s\t\n\r"
"A list of chars that a Clojure symbol cannot contain.
-See definition of 'macros': URL `http://git.io/vRGLD'.")
+See definition of `macros': URL `http://git.io/vRGLD'.")
(defconst clojure--sym-forbidden-1st-chars (concat
clojure--sym-forbidden-rest-chars "0-9:'")
"A list of chars that a Clojure symbol cannot start with.
See the for-loop: URL `http://git.io/vRGTj' lines: URL
`http://git.io/vRGIh', URL `http://git.io/vRGLE' and value
-definition of 'macros': URL `http://git.io/vRGLD'.")
+definition of `macros': URL `http://git.io/vRGLD'.")
(defconst clojure--sym-regexp
(concat "[^" clojure--sym-forbidden-1st-chars "][^"
clojure--sym-forbidden-rest-chars "]*")
"A regexp matching a Clojure symbol or namespace alias.
@@ -1305,7 +1305,7 @@ will align the values like this:
(defcustom clojure-special-arg-indent-factor
2
- "Factor of the 'lisp-body-indent' used to indent special arguments."
+ "Factor of the `lisp-body-indent' used to indent special arguments."
:package-version '(clojure-mode . "5.13")
:type 'integer
:safe 'integerp)
@@ -1710,7 +1710,7 @@ This function also returns nil meaning don't specify the
indentation."
(put sym 'clojure-indent-function indent))
(defun clojure--maybe-quoted-symbol-p (x)
- "Check that X is either a symbol or a quoted symbol like :foo or 'foo."
+ "Check that X is either a symbol or a quoted symbol like :foo or \\='foo."
(or (symbolp x)
(and (listp x)
(= 2 (length x))
@@ -1744,7 +1744,7 @@ https://docs.cider.mx/cider/indent_spec.html e.g. (2 :form
(defun clojure--valid-put-clojure-indent-call-p (exp)
"Check that EXP is a valid `put-clojure-indent' expression.
-For example: (put-clojure-indent 'defrecord '(2 :form :form (1))."
+For example: (put-clojure-indent \\='defrecord \\='(2 :form :form (1))."
(unless (and (listp exp)
(= 3 (length exp))
(eq 'put-clojure-indent (nth 0 exp))