bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9163: 24.0.50; patch: simple.el (goto-line)


From: Eduard Wiebe
Subject: bug#9163: 24.0.50; patch: simple.el (goto-line)
Date: Sun, 24 Jul 2011 22:22:06 +0200

2011-07-24  Eduard Wiebe  <address@hidden>

        * simple.el (goto-line): Use `string-to-number' on default.

=== modified file 'lisp/simple.el'
--- lisp/simple.el      2011-07-16 18:42:38 +0000
+++ lisp/simple.el      2011-07-24 20:15:49 +0000
@@ -917,7 +917,7 @@
                                     "Goto line%s: ")
                                   buffer-prompt
                                   default)
-                          default)
+                          (string-to-number default))
             buffer))))
   ;; Switch to the desired buffer, one way or another.
   (if buffer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]