summaryrefslogtreecommitdiff
path: root/lisp/avoid.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2014-05-21 00:20:36 +0300
committerJuri Linkov <juri@jurta.org>2014-05-21 00:20:36 +0300
commit2614b25fd5bbbdbc1740b4b7d43dc1f010571fab (patch)
tree50c1157cbabe79006be1dc5be6834e4454a92cfc /lisp/avoid.el
parenta2115113ef8fb235f7863055cedd37a4aaa28d76 (diff)
downloademacs-2614b25fd5bbbdbc1740b4b7d43dc1f010571fab.tar.gz
* lisp/avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
to allow changing its value with `set-variable'. Fixes: debbugs:17439
Diffstat (limited to 'lisp/avoid.el')
-rw-r--r--lisp/avoid.el6
1 files changed, 3 insertions, 3 deletions
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.
TOP-OR-BOTTOM-POS: Distance from top or bottom edge of frame or window."
:group 'avoid
:version "24.3"
- :type '(alist :key-type symbol :value-type symbol)
- :options '(frame-or-window side (side-pos integer)
- top-or-bottom (top-or-bottom-pos integer)))
+ :type '(alist :key-type symbol :value-type (choice symbol integer))
+ :options '((frame-or-window symbol) (side symbol) (side-pos integer)
+ (top-or-bottom symbol) (top-or-bottom-pos integer)))
;; Internal variables
(defvar mouse-avoidance-state nil)