Skip to content

Commit 181ee7d

Browse files
committed
[#270] Inline useful var config from lisp-mode-variables
1 parent e217634 commit 181ee7d

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Diff for: clojure-mode.el

+13-3
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,19 @@ ENDP and DELIMITER."
246246
(lambda ()
247247
(imenu--generic-function '((nil clojure-match-next-def 0)))))
248248
(setq-local indent-tabs-mode nil)
249-
(lisp-mode-variables nil)
250-
(setq fill-paragraph-function #'clojure-fill-paragraph)
251-
(setq adaptive-fill-function #'clojure-adaptive-fill-function)
249+
(setq-local paragraph-ignore-fill-prefix t)
250+
(setq-local outline-regexp ";;;\\(;* [^ \t\n]\\)\\|(")
251+
(setq-local outline-level 'lisp-outline-level)
252+
(setq-local comment-start ";")
253+
(setq-local comment-start-skip ";+ *")
254+
(setq-local comment-add 1) ; default to `;;' in comment-region
255+
(setq-local comment-column 40)
256+
(setq-local comment-use-syntax t)
257+
(setq-local multibyte-syntax-as-symbol t)
258+
(setq-local electric-pair-skip-whitespace 'chomp)
259+
(setq-local electric-pair-open-newline-between-pairs nil)
260+
(setq-local fill-paragraph-function #'clojure-fill-paragraph)
261+
(setq-local adaptive-fill-function #'clojure-adaptive-fill-function)
252262
(setq-local normal-auto-fill-function #'clojure-auto-fill-function)
253263
(setq-local comment-start-skip
254264
"\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *")

0 commit comments

Comments
 (0)