unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9163: 24.0.50; patch: simple.el (goto-line)
@ 2011-07-24 20:22 Eduard Wiebe
  0 siblings, 0 replies; only message in thread
From: Eduard Wiebe @ 2011-07-24 20:22 UTC (permalink / raw)
  To: 9163

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]


2011-07-24  Eduard Wiebe  <usenet@pusto.de>

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: simple.el-goto-line-patch.diff --]
[-- Type: text/x-diff, Size: 472 bytes --]

=== 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-24 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-24 20:22 bug#9163: 24.0.50; patch: simple.el (goto-line) Eduard Wiebe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).