Closed
Description
TL;DR: in clojure-mode-variables
, the line
(setq-local outline-regexp ";;;\\(;* [^ \t\n]\\)\\|(")
is likely incorrect; replacing it with (setq-local outline-regexp ";;;;* ")
works for me.
Expected behavior
Do M-x outline-minor-mode
in a clojure buffer; the command outline-insert-heading
should behave correctly.
In particular, call to outline-insert-heading
on the first line of each pair should result in the second line:
;;; heading:
;;;
;;;; h2:
;;;;
(foo)
;;;
Actual behavior
;;; heading:
;;; h
;;;; h2:
;;;; h
(foo)
(
Steps to reproduce the problem
See above, tldr; M-x outline-minor-mode
, then M-x outline-insert-heading
.
Environment & Version information
clojure-mode version information
clojure-mode (version 5.11.0)
Emacs version
25.3.1