[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/olivetti e70adca 121/134: Add safe custom variable prop
From: |
Stefan Monnier |
Subject: |
[elpa] externals/olivetti e70adca 121/134: Add safe custom variable properties |
Date: |
Thu, 25 Apr 2019 09:57:42 -0400 (EDT) |
branch: externals/olivetti
commit e70adcacd3ec50d63c442f73eebacefedec20301
Author: Paul W. Rankin <address@hidden>
Commit: Paul W. Rankin <address@hidden>
Add safe custom variable properties
---
olivetti.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/olivetti.el b/olivetti.el
index b85ae1d..987ccbb 100644
--- a/olivetti.el
+++ b/olivetti.el
@@ -136,6 +136,7 @@ best effect.
This option does not affect file contents."
:type '(choice (integer 80) (float 0.5))
+ :safe 'numberp
:group 'olivetti)
(make-variable-buffer-local 'olivetti-body-width)
@@ -143,18 +144,21 @@ This option does not affect file contents."
40
"Minimum width in columns that text body width may be set."
:type 'integer
+ :safe 'integerp
:group 'olivetti)
(defcustom olivetti-hide-mode-line
nil
"Hide the mode line."
:type 'boolean
+ :safe 'booleanp
:group 'olivetti)
(defcustom olivetti-lighter
" Olv"
"Mode-line indicator for `olivetti-mode'."
:type '(choice (const :tag "No lighter" "") string)
+ :safe 'stringp
:group 'olivetti)
(defcustom olivetti-recall-visual-line-mode-entry-state
@@ -165,6 +169,7 @@ When non-nil, if `visual-line-mode' is inactive upon
activating
`olivetti-mode', then `visual-line-mode' will be deactivated upon
exiting. The reverse is not true."
:type 'boolean
+ :safe 'booleanp
:group 'olivetti)
- [elpa] externals/olivetti f53b5f4 062/134: Added mode-map, (continued)
- [elpa] externals/olivetti f53b5f4 062/134: Added mode-map, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti ce4c9f0 068/134: Document split-window-right workaround, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 9d318be 069/134: Added README to Commentary, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti d2c54ac 072/134: Add change-major-mode-hook to reset margins, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 5ac4444 085/134: Use GitHub repo screenshot, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti cefceed 089/134: Added note about buggy display-line-numbers-mode, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 9d9f9ce 090/134: Added hints, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 988d326 092/134: Use HTTPS for README links, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti dd9162f 112/134: Documentation improvements, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 3facf2b 115/134: Change hooks:, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti e70adca 121/134: Add safe custom variable properties,
Stefan Monnier <=
- [elpa] externals/olivetti 3df740c 122/134: Change top-level customization group wp -> text, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 2304ddc 124/134: Refactoring style: if -> when for condition cases without else, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 687f2df 129/134: Require Emacs 24.5, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 506b1d9 132/134: Update README/Commentary -- add Emacs 27.x window.c bug, Stefan Monnier, 2019/04/25
- [elpa] externals/olivetti 6917a16 130/134: Remove olivetti-hide-mode-line function & related code, Stefan Monnier, 2019/04/25