chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36db1ea
)
el/dot-emacs.el (mdw-fontify-rust): Also indent on `{'.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 3 Jun 2015 13:44:55 +0000
(14:44 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 3 Jun 2015 13:44:55 +0000
(14:44 +0100)
I haven't decided yet where to put the open brace of a Rust function
definition.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index f8af576e737c066d7eeea0954565888b7cdaa0b3..3a461d67da62ef2cf985c04bc1660ca3c9be4099 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2051,6
+2051,7
@@
(defun mdw-fontify-rust ()
'(0 mdw-punct-face)))))
;; Hack key bindings.
+ (local-set-key [?{] 'mdw-self-insert-and-indent)
(local-set-key [?}] 'mdw-self-insert-and-indent)
;; Final hacking.