# HG changeset patch # User Augie Fackler # Date 1473622917 14400 # Node ID eece3dcdd0139203dcaf59c8ccfadcd6258f1d8f # Parent 4c9beb0d5753f0dcdea2dfefeb6af6ef9d8d0cfd emacs: rustfmt on saving a rust file diff --git a/.elisp/settings/01.custom.el b/.elisp/settings/01.custom.el --- a/.elisp/settings/01.custom.el +++ b/.elisp/settings/01.custom.el @@ -7,7 +7,8 @@ '(custom-safe-themes (quote ("a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "6a37be365d1d95fad2f4d185e51928c789ef7a4ccf17e7ca13ad63a8bf5b922f" "756597b162f1be60a12dbd52bab71d40d6a2845a3e3c2584c6573ee9c332a66e" default))) '(rm-blacklist (quote (" mate" " WS" " MRev" " Hg:"))) '(sml/prefix-regexp (quote (":\\(.*:\\)" "~/"))) - '(sml/replacer-regexp-list (quote (("^/sudo:.*:" ":SU:") ("^~/Documents/" ":Doc:") ("^~/Dropbox/" ":DB:") ("^~/Programming/hg" ":hg:") ("^~/Programming/" ":P:"))))) + '(sml/replacer-regexp-list (quote (("^/sudo:.*:" ":SU:") ("^~/Documents/" ":Doc:") ("^~/Dropbox/" ":DB:") ("^~/Programming/hg" ":hg:") ("^~/Programming/" ":P:")))) + '(rust-format-on-save t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.