summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorFelix S Klock II <pnkfelix@pnkfx.org>2015-07-09 01:41:28 +0200
committerFelix S Klock II <pnkfelix@pnkfx.org>2015-07-09 01:41:28 +0200
commitc0e3878c6a0104196bc12d6e17cb249ee853a61e (patch)
tree9051c90a56e89757f3543046563ee53060d2144c /rust-mode.el
parent102ad5f5a53e6147e21e7737b861808874b1a04b (diff)
parent88ff62ad3181d9976c9f435efa614b422037af51 (diff)
downloadrust-mode-c0e3878c6a0104196bc12d6e17cb249ee853a61e.tar.gz
Merge pull request #81 from MicahChalmer/fix-issue-80
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)