File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,19 @@ This can also be done automatically (as part of indentation) by
238238turning on ` clojure-align-forms-automatically ` . This way it will
239239happen whenever you select some code and hit ` TAB ` .
240240
241+ ### Comments
242+
243+ ` clojure-mode ` differentiates between comments like ` ; ` , ` ;; ` , etc.
244+ By default ` clojure-mode ` treats ` ; ` as inline comments and * always* indents those.
245+ You can change this behaviour like this:
246+
247+ ``` emacs-lisp
248+ (add-hook 'clojure-mode-hook (lambda () (setq-local comment-column 0)))
249+ ```
250+
251+ You might also want to change ` comment-add ` to 0 in that way, so that Emacs comment
252+ functions (e.g. ` comment-region ` ) would use ` ; ` by default instead of ` ;; ` .
253+
241254## Refactoring support
242255
243256The available refactorings were originally created and maintained by the
You can’t perform that action at this time.
0 commit comments