chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
el/dot-emacs.el (mdw-fontify-rust): Also indent on `{'.
[profile]
/
el
/
dot-emacs.el
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.