Update indentation in some elisp files
According to new elisp default indentation provided by `common-lisp-indent-function`.
This commit is contained in:
parent
f22ef5705c
commit
40ff1d3004
15
init.el
15
init.el
|
@ -980,12 +980,11 @@ If DESCRIPTION, match it in the description. If TARGET, match it
|
||||||
in the target. If both DESCRIPTION and TARGET, match both,
|
in the target. If both DESCRIPTION and TARGET, match both,
|
||||||
respectively."
|
respectively."
|
||||||
(cl-labels
|
(cl-labels
|
||||||
((no-desc
|
((no-desc (match)
|
||||||
(match) (rx-to-string `(seq (or bol (1+ blank))
|
(rx-to-string `(seq (or bol (1+ blank))
|
||||||
"[[" (0+ (not (any "]"))) (regexp ,match) (0+ (not (any "]")))
|
"[[" (0+ (not (any "]"))) (regexp ,match) (0+ (not (any "]")))
|
||||||
"]]")))
|
"]]")))
|
||||||
(match-both
|
(match-both (description target)
|
||||||
(description target)
|
|
||||||
(rx-to-string `(seq (or bol (1+ blank))
|
(rx-to-string `(seq (or bol (1+ blank))
|
||||||
"[[" (0+ (not (any "]"))) (regexp ,target) (0+ (not (any "]")))
|
"[[" (0+ (not (any "]"))) (regexp ,target) (0+ (not (any "]")))
|
||||||
;; Added .* wildcards
|
;; Added .* wildcards
|
||||||
|
@ -993,14 +992,14 @@ respectively."
|
||||||
"]]")))
|
"]]")))
|
||||||
;; Note that these actually allow empty descriptions
|
;; Note that these actually allow empty descriptions
|
||||||
;; or targets, depending on what they are matching.
|
;; or targets, depending on what they are matching.
|
||||||
(match-desc
|
(match-desc (match)
|
||||||
(match) (rx-to-string `(seq (or bol (1+ blank))
|
(rx-to-string `(seq (or bol (1+ blank))
|
||||||
"[[" (0+ (not (any "]")))
|
"[[" (0+ (not (any "]")))
|
||||||
;; Added .* wildcards
|
;; Added .* wildcards
|
||||||
"][" (regexp ".*") (regexp ,match) (regexp ".*")
|
"][" (regexp ".*") (regexp ,match) (regexp ".*")
|
||||||
"]]")))
|
"]]")))
|
||||||
(match-target
|
(match-target (match)
|
||||||
(match) (rx-to-string `(seq (or bol (1+ blank))
|
(rx-to-string `(seq (or bol (1+ blank))
|
||||||
"[[" (0+ (not (any "]"))) (regexp ,match) (0+ (not (any "]")))
|
"[[" (0+ (not (any "]"))) (regexp ,match) (0+ (not (any "]")))
|
||||||
;; Removed pattern for description
|
;; Removed pattern for description
|
||||||
"][" ))))
|
"][" ))))
|
||||||
|
|
Loading…
Reference in New Issue