diff --git a/CHANGELOG.md b/CHANGELOG.md index bb580c7e..8debde75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ * [#571](https://github.com/clojure-emacs/clojure-mode/issues/571): Remove `project.el` integration. * [#574](https://github.com/clojure-emacs/clojure-mode/issues/574): Remove `clojure-view-grimoire` command. * Stop `clojure-sort-ns` from calling `redisplay`. +* [#584](https://github.com/clojure-emacs/clojure-mode/issues/584): Align to recent `pcase` changes on Emacs master ## 5.12.0 (2020-08-13) diff --git a/clojure-mode.el b/clojure-mode.el index b2c82657..4e61d267 100644 --- a/clojure-mode.el +++ b/clojure-mode.el @@ -1495,7 +1495,7 @@ This function also returns nil meaning don't specify the indentation." (last-sexp calculate-lisp-indent-last-sexp) (containing-form-column (1- (current-column)))) (pcase method - ((or (pred integerp) `(,method)) + ((or (and (pred integerp) method) `(,method)) (let ((pos -1)) (condition-case nil (while (and (<= (point) indent-point)