Skip to content

Commit b5c913a

Browse files
manuel-ubertibbatsov
authored andcommitted
[Fix #584] Align to pcase changes on Emacs master
1 parent cffae97 commit b5c913a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [#571](https://github.com/clojure-emacs/clojure-mode/issues/571): Remove `project.el` integration.
1313
* [#574](https://github.com/clojure-emacs/clojure-mode/issues/574): Remove `clojure-view-grimoire` command.
1414
* Stop `clojure-sort-ns` from calling `redisplay`.
15+
* [#584](https://github.com/clojure-emacs/clojure-mode/issues/584): Align to recent `pcase` changes on Emacs master
1516

1617
## 5.12.0 (2020-08-13)
1718

clojure-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ This function also returns nil meaning don't specify the indentation."
14951495
(last-sexp calculate-lisp-indent-last-sexp)
14961496
(containing-form-column (1- (current-column))))
14971497
(pcase method
1498-
((or (pred integerp) `(,method))
1498+
((or (and (pred integerp) method) `(,method))
14991499
(let ((pos -1))
15001500
(condition-case nil
15011501
(while (and (<= (point) indent-point)

0 commit comments

Comments
 (0)