Skip to content

Commit b1ea6de

Browse files
authored
[Fix #550] Fix outline-regexp (#553)
Update outline-regexp so outline-insert-heading behaves correctly.
1 parent 5b7ca82 commit b1ea6de

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
@@ -4,6 +4,7 @@
44

55
### Bugs fixed
66

7+
* [#550](https://github.com/clojure-emacs/clojure-mode/issues/550): Fix `outline-regexp` so `outline-insert-heading` behaves correctly.
78
* [#551](https://github.com/clojure-emacs/clojure-mode/issues/551): Indent `clojure-align` region before aligning.
89
* [#520](https://github.com/clojure-emacs/clojure-mode/issues/508): Fix allow `clojure-align-cond-forms` to recognize qualified forms.
910
* Enhance add arity refactoring to support a `defn` inside a reader conditional.

clojure-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ replacement for `cljr-expand-let`."
507507
(add-to-list 'imenu-generic-expression '(nil clojure-match-next-def 0))
508508
(setq-local indent-tabs-mode nil)
509509
(setq-local paragraph-ignore-fill-prefix t)
510-
(setq-local outline-regexp ";;;\\(;* [^ \t\n]\\)\\|(")
510+
(setq-local outline-regexp ";;;;* ")
511511
(setq-local outline-level 'lisp-outline-level)
512512
(setq-local comment-start ";")
513513
(setq-local comment-start-skip ";+ *")

0 commit comments

Comments
 (0)