diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2015-08-14 20:10:18 -0400 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2015-08-14 20:10:18 -0400 |
| commit | 5e51aaa7cdea3d80d4beecfb2cded91185214519 (patch) | |
| tree | 2ac27f992421330c3605e011a0339f6975a48114 /rust-mode.el | |
| parent | 1ff1d7576b6882fc146b38a43ab84f6562441876 (diff) | |
| parent | 59375893e511c22f03ab8e4c965c70d62257ebef (diff) | |
| download | rust-mode-5e51aaa7cdea3d80d4beecfb2cded91185214519.tar.gz | |
Merge pull request #69 from tromey/safe-local-variables
set :safe on two defcustoms
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rust-mode.el b/rust-mode.el index b237896..2a0ad19 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -78,12 +78,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" |
