branch: elpa/rust-mode
commit cd09a54f94be0c532c1f2b0b8fff34ee8cd841a7
Merge: e327658 4935090
Author: Niko Matsakis <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #189 from froydnj/minor-cleanups
    
    minor cleanups: https links and defcustom grouping
---
 rust-mode.el | 10 ++++++----
 1 file 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))

Reply via email to