From 891716aecc720667ee720b3f2b9e482e1ae7e3a0 Mon Sep 17 00:00:00 2001 From: Micah Chalmer Date: Sat, 28 Sep 2013 17:15:37 -0400 Subject: Fix single-line-style paragraph fills with code immediately before or after --- rust-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rust-mode.el') diff --git a/rust-mode.el b/rust-mode.el index bad1ea5..a3b7581 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -300,7 +300,8 @@ (let ((fill-paragraph-function (if (not (eq fill-paragraph-function 'rust-fill-paragraph)) - fill-paragraph-function))) + fill-paragraph-function)) + (fill-paragraph-handle-comment t)) (apply 'fill-paragraph args) t)))))) -- cgit v1.2.3