From 7a7510fdecf59eaf89f8ea65b0bd473d7ee99099 Mon Sep 17 00:00:00 2001 From: Wanderson Ferreira Date: Sat, 20 Jul 2019 11:16:31 -0300 Subject: [PATCH] [FIX #520] allow clojure-align-cond-forms to recognize qualified forms I only added the qualified names into the list of values. I think that is the most straightforward way to solve this issue. --- CHANGELOG.md | 4 ++++ clojure-mode.el | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20609c6f..70f448f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## master (unreleased) +### Bugs fixed + +* [#520](https://github.com/clojure-emacs/clojure-mode/issues/508): Fix allow `clojure-align-cond-forms` to recognize qualified forms. + ## 5.11.0 (2019-07-16) ### New features diff --git a/clojure-mode.el b/clojure-mode.el index 28c3d862..01f82e31 100644 --- a/clojure-mode.el +++ b/clojure-mode.el @@ -1130,7 +1130,9 @@ will align the values like this: :safe #'listp :type '(repeat string)) -(defcustom clojure-align-cond-forms '("condp" "cond" "cond->" "cond->>" "case" "are") +(defcustom clojure-align-cond-forms '("condp" "cond" "cond->" "cond->>" "case" "are" + "clojure.core/condp" "clojure.core/cond" "clojure.core/cond->" + "clojure.core/cond->>" "clojure.core/case" "clojure.test/are") "List of strings identifying cond-like forms." :package-version '(clojure-mode . "5.1") :safe #'listp