diff options
| author | Juri Linkov | 2014-05-21 00:20:36 +0300 |
|---|---|---|
| committer | Juri Linkov | 2014-05-21 00:20:36 +0300 |
| commit | 2614b25fd5bbbdbc1740b4b7d43dc1f010571fab (patch) | |
| tree | 50c1157cbabe79006be1dc5be6834e4454a92cfc | |
| parent | a2115113ef8fb235f7863055cedd37a4aaa28d76 (diff) | |
| download | emacs-2614b25fd5bbbdbc1740b4b7d43dc1f010571fab.tar.gz emacs-2614b25fd5bbbdbc1740b4b7d43dc1f010571fab.zip | |
* lisp/avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
to allow changing its value with `set-variable'.
Fixes: debbugs:17439
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/avoid.el | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7d72258318c..2c96eeadfb7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | Add more modifiers: meta, control, shift, hyper, super, alt. | 5 | Add more modifiers: meta, control, shift, hyper, super, alt. |
| 6 | (Bug#17439) | 6 | (Bug#17439) |
| 7 | 7 | ||
| 8 | * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options | ||
| 9 | to allow changing its value with `set-variable'. | ||
| 10 | |||
| 8 | 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca> | 11 | 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 9 | 12 | ||
| 10 | * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for | 13 | * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for |
diff --git a/lisp/avoid.el b/lisp/avoid.el index de3958745a4..680e509ceba 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el | |||
| @@ -126,9 +126,9 @@ TOP-OR-BOTTOM: banish the mouse to top or bottom of frame or window. | |||
| 126 | TOP-OR-BOTTOM-POS: Distance from top or bottom edge of frame or window." | 126 | TOP-OR-BOTTOM-POS: Distance from top or bottom edge of frame or window." |
| 127 | :group 'avoid | 127 | :group 'avoid |
| 128 | :version "24.3" | 128 | :version "24.3" |
| 129 | :type '(alist :key-type symbol :value-type symbol) | 129 | :type '(alist :key-type symbol :value-type (choice symbol integer)) |
| 130 | :options '(frame-or-window side (side-pos integer) | 130 | :options '((frame-or-window symbol) (side symbol) (side-pos integer) |
| 131 | top-or-bottom (top-or-bottom-pos integer))) | 131 | (top-or-bottom symbol) (top-or-bottom-pos integer))) |
| 132 | 132 | ||
| 133 | ;; Internal variables | 133 | ;; Internal variables |
| 134 | (defvar mouse-avoidance-state nil) | 134 | (defvar mouse-avoidance-state nil) |