summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2015-07-07 23:13:01 -0400
committerMicah Chalmer <micah@micahchalmer.net>2015-07-07 23:13:01 -0400
commit88ff62ad3181d9976c9f435efa614b422037af51 (patch)
tree9051c90a56e89757f3543046563ee53060d2144c /rust-mode.el
parent102ad5f5a53e6147e21e7737b861808874b1a04b (diff)
downloadrust-mode-88ff62ad3181d9976c9f435efa614b422037af51.tar.gz
Remove unnecessary code with call to undefined function
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 3d1ba02..40a2492 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -459,14 +459,6 @@
(goto-char (nth 8 end-ppss))
(ignore-errors (forward-sexp))
(setq font-lock-end (max font-lock-end (point)))))
-
- ;; If we have the beginning of a raw string in the region, make sure we have the end of
- ;; it.
- (when (or beg-in-str end-in-str)
- (save-excursion
- (goto-char font-lock-beg)
- (while (and (< (point) font-lock-end) (ignore-errors (rust-look-for-raw-string (buffer-end 1)))))
- (setq font-lock-end (max font-lock-end (point)))))
)))
(or (/= font-lock-beg orig-beg)