]> git.eshelyaron.com Git - emacs.git/commitdiff
(all): Prevent nil from matching two alternatives in
authorLuc Teirlinck <teirllm@auburn.edu>
Mon, 1 Aug 2005 20:09:18 +0000 (20:09 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Mon, 1 Aug 2005 20:09:18 +0000 (20:09 +0000)
`indicate-buffer-boundaries' defcustom.

lisp/cus-start.el

index 0a72c500d20979c8db700c81db614fb24561e4ad..694eb96e22d63d7385fa01c1978214fd5b71a3a4 100644 (file)
@@ -72,32 +72,34 @@ since it could result in memory overflow and make Emacs crash."
               (const :tag "No indicators" nil)
               (const :tag "On left, with arrows" left)
               (const :tag "On right, with arrows" right)
-              (set :tag "Pick your own design"
-                   (choice :tag "Default"
-                           :value (t . left)
-                           (const :tag "Do not show" (t . nil))
-                           (const :tag "On the left" (t . left))
-                           (const :tag "On the right" (t . right)))
-                   (choice :tag "Top"
-                           :value (top . left)
-                           (const :tag "Do not show" (top . nil))
-                           (const :tag "On the left" (top . left))
-                           (const :tag "On the right" (top . right)))
-                   (choice :tag "Bottom"
-                           :value (bottom . left)
-                           (const :tag "Do not show" (bottom . nil))
-                           (const :tag "On the left" (bottom . left))
-                           (const :tag "On the right" (bottom . right)))
-                   (choice :tag "Up arrow"
-                           :value (up . left)
-                           (const :tag "Do not show" (up . nil))
-                           (const :tag "On the left" (up . left))
-                           (const :tag "On the right" (up . right)))
-                   (choice :tag "Down arrow"
-                           :value (down . left)
-                           (const :tag "Do not show" (down . nil))
-                           (const :tag "On the left" (down . left))
-                           (const :tag "On the right" (down . right))))
+              (list :tag "Pick your own design"
+                    :value ((t . nil))
+                    (choice :tag "Default"
+                            (const :tag "Do not show" (t . nil))
+                            (const :tag "On the left" (t . left))
+                            (const :tag "On the right" (t . right)))
+                    (set :inline t
+                         :tag "Override default for"
+                         (choice :tag "Top"
+                                 :value (top . left)
+                                 (const :tag "Do not show" (top . nil))
+                                 (const :tag "On the left" (top . left))
+                                 (const :tag "On the right" (top . right)))
+                         (choice :tag "Bottom"
+                                 :value (bottom . left)
+                                 (const :tag "Do not show" (bottom . nil))
+                                 (const :tag "On the left" (bottom . left))
+                                 (const :tag "On the right" (bottom . right)))
+                         (choice :tag "Up arrow"
+                                 :value (up . left)
+                                 (const :tag "Do not show" (up . nil))
+                                 (const :tag "On the left" (up . left))
+                                 (const :tag "On the right" (up . right)))
+                         (choice :tag "Down arrow"
+                                 :value (down . left)
+                                 (const :tag "Do not show" (down . nil))
+                                 (const :tag "On the left" (down . left))
+                                 (const :tag "On the right" (down . right)))))
               (other :tag "On left, no arrows" t))
              "22.1")
             (scroll-up-aggressively windows