auto-indent code pasted in clojure and scala buffers
This commit is contained in:
parent
bfba8f79e1
commit
6db74a90a3
1 changed files with 2 additions and 1 deletions
|
@ -249,7 +249,8 @@
|
|||
(require 'midnight)
|
||||
|
||||
;; automatically indenting yanked text if in programming-modes
|
||||
(defvar yank-indent-modes '(python-mode LaTeX-mode TeX-mode)
|
||||
(defvar yank-indent-modes
|
||||
'(clojure-mode scala-mode python-mode LaTeX-mode TeX-mode)
|
||||
"Modes in which to indent regions that are yanked (or yank-popped). Only
|
||||
modes that don't derive from `prog-mode' should be listed here.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue