summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-01-07 07:48:35 -0500
committerGitHub <noreply@github.com>2017-01-07 07:48:35 -0500
commitcd09a54f94be0c532c1f2b0b8fff34ee8cd841a7 (patch)
treebb5a46a789767328da4ffd750956758388caca47
parente32765893ce2efb2db6662f507fb9d33d5c1b61b (diff)
parent4935090c3fe89a419a38b4f2194d1fea49e2a763 (diff)
downloadrust-mode-cd09a54f94be0c532c1f2b0b8fff34ee8cd841a7.tar.gz
Merge pull request #189 from froydnj/minor-cleanups
minor cleanups: https links and defcustom grouping
-rw-r--r--rust-mode.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 60a81f1..1877234 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -146,7 +146,7 @@
(defgroup rust-mode nil
"Support for Rust code."
- :link '(url-link "http://www.rust-lang.org/")
+ :link '(url-link "https://www.rust-lang.org/")
:group 'languages)
(defcustom rust-indent-offset 4
@@ -172,7 +172,7 @@ function or trait. When nil, where will be aligned with fn or trait."
"Format string to use when submitting code to the playpen"
:type 'string
:group 'rust-mode)
-(defcustom rust-shortener-url-format "http://is.gd/create.php?format=simple&url=%s"
+(defcustom rust-shortener-url-format "https://is.gd/create.php?format=simple&url=%s"
"Format string to use for creating the shortened link of a playpen submission"
:type 'string
:group 'rust-mode)
@@ -187,11 +187,13 @@ function or trait. When nil, where will be aligned with fn or trait."
(defcustom rust-format-on-save nil
"Format future rust buffers before saving using rustfmt."
:type 'boolean
- :safe #'booleanp)
+ :safe #'booleanp
+ :group 'rust-mode)
(defcustom rust-rustfmt-bin "rustfmt"
"Path to rustfmt executable."
- :type 'string)
+ :type 'string
+ :group 'rust-mode)
(defface rust-unsafe-face
'((t :inherit font-lock-warning-face))