]> git.eshelyaron.com Git - emacs.git/commitdiff
wid-edit.el (widget-choose): Put cursor on second line of the buffer (Bug#5695).
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 7 Apr 2010 12:57:04 +0000 (14:57 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 7 Apr 2010 12:57:04 +0000 (14:57 +0200)
lisp/ChangeLog
lisp/wid-edit.el

index 06ac9e811c904095c46e42edf0d1e9c7a41fd035..ad2f6cf56eeb9b3a4b388da0d41881cfa2cbbfba 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * wid-edit.el (widget-choose): Move cursor to the second line of
+       the buffer (Bug#5695).
+
 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
 
        Add new VC methods: vc-log-incoming and vc-log-outgoing.
index 6296a965df9d097dab9657428d6f1333780d371f..f68c668f742ec172fb6170a4106cbd401bb3dcbe 100644 (file)
@@ -253,7 +253,9 @@ minibuffer."
               ;; Allocate digits to disabled alternatives
               ;; so that the digit of a given alternative never varies.
               (setq next-digit (1+ next-digit)))
-            (insert "\nC-g = Quit"))
+            (insert "\nC-g = Quit")
+            (goto-char (point-min))
+            (forward-line))
           (or some-choice-enabled
               (error "None of the choices is currently meaningful"))
           (define-key map [?\C-g] 'keyboard-quit)