emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 5937589 169/486: set :safe on two defcustoms


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 5937589 169/486: set :safe on two defcustoms
Date: Sat, 7 Aug 2021 09:25:12 -0400 (EDT)

branch: elpa/rust-mode
commit 59375893e511c22f03ab8e4c965c70d62257ebef
Author: Tom Tromey <tom@tromey.com>
Commit: Tom Tromey <tom@tromey.com>

    set :safe on two defcustoms
---
 rust-mode.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/rust-mode.el b/rust-mode.el
index 58df76d..76eb998 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -55,12 +55,14 @@
 (defcustom rust-indent-offset 4
   "Indent Rust code by this number of spaces."
   :type 'integer
-  :group 'rust-mode)
+  :group 'rust-mode
+  :safe #'integerp)
 
 (defcustom rust-indent-method-chain nil
   "Indent Rust method chains, aligned by the '.' operators"
   :type 'boolean
-  :group 'rust-mode)
+  :group 'rust-mode
+  :safe #'booleanp)
 
 (defcustom rust-playpen-url-format "https://play.rust-lang.org/?code=%s";
   "Format string to use when submitting code to the playpen"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]