Hey all,
There'll probably be a quick solution to this. But I have emacs with
clojure-mode installed. And it has this very annoying behaviour of
re-indenting a bracket if I hit return on a line just abouve it. I took a
look around and thought this line (
in ~/.emacs.d/elpa/<install-dir>/clojure-mode.el ) might be the culprit.
But commenting it out didn't remove that behaviour. Is there another place
I can look to change this behaviour?
...
(defvar clojure-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map lisp-mode-shared-map)
(define-key map "\e\C-x" 'lisp-eval-defun)
(define-key map "\C-x\C-e" 'lisp-eval-last-sexp)
(define-key map "\C-c\C-e" 'lisp-eval-last-sexp)
(define-key map "\C-c\C-l" 'clojure-load-file)
(define-key map "\C-c\C-r" 'lisp-eval-region)
(define-key map "\C-c\C-z" 'run-lisp)
* ;;(define-key map (kbd "RET") 'reindent-then-newline-and-indent)
*
(define-key map (kbd "C-c t") 'clojure-jump-to-test)
map)
"Keymap for Clojure mode. Inherits from `lisp-mode-shared-map'.")
...
Thanks
Tim Washington
Interruptsoftware.ca
416.843.9060
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en