summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/rust-rustfmt.el
diff options
context:
space:
mode:
authorSimeon Simeonov2024-11-09 13:04:13 +0100
committerSimeon Simeonov2024-11-09 13:04:13 +0100
commita773e7ed865a1a7eb5bf00b9f0481e888534831a (patch)
tree9b0014538bb1cdddd41f651eba62a54d5ebca475 /.emacs.d/lisp/rust-rustfmt.el
parent87d628a4bb80f1253e01e408bb8e02a0840f85b2 (diff)
Upgrade markdown-mode, nginx-mode, rust-mode, yaml-mode and python-mode/property_getter
Diffstat (limited to '.emacs.d/lisp/rust-rustfmt.el')
-rw-r--r--.emacs.d/lisp/rust-rustfmt.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/rust-rustfmt.el b/.emacs.d/lisp/rust-rustfmt.el
index f609980..cab183c 100644
--- a/.emacs.d/lisp/rust-rustfmt.el
+++ b/.emacs.d/lisp/rust-rustfmt.el
@@ -87,8 +87,8 @@
87 (insert-file-contents tmpf) 87 (insert-file-contents tmpf)
88 (rust--format-fix-rustfmt-buffer (buffer-name buf)) 88 (rust--format-fix-rustfmt-buffer (buffer-name buf))
89 (error "Rustfmt failed, see %s buffer for details" 89 (error "Rustfmt failed, see %s buffer for details"
90 rust-rustfmt-buffername)))) 90 rust-rustfmt-buffername)))
91 (delete-file tmpf)))))) 91 (delete-file tmpf)))))))
92 92
93;; Since we run rustfmt through stdin we get <stdin> markers in the 93;; Since we run rustfmt through stdin we get <stdin> markers in the
94;; output. This replaces them with the buffer name instead. 94;; output. This replaces them with the buffer name instead.