From 8e054bf7d644bf2c0806520668832e31e313b3cd Mon Sep 17 00:00:00 2001 From: Manuel Uberti Date: Thu, 4 Mar 2021 15:48:08 +0100 Subject: [PATCH] [Fix #584] Align to pcase changes on Emacs master --- CHANGELOG.md | 1 + clojure-mode.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)