diff lisp/gnuserv.el @ 4684:15c42a3f4065

Do not move cursor position in gnuclient started buffer if user did not requested..
author It's me FKtPp \;) <m_pupil@yahoo.com.cn>
date Sat, 29 Aug 2009 22:37:50 +0800
parents a72dc882abf1
children 8b7644c73fd2
line wrap: on
line diff
--- a/lisp/gnuserv.el	Thu Aug 27 15:18:51 2009 +0100
+++ b/lisp/gnuserv.el	Sat Aug 29 22:37:50 2009 +0800
@@ -481,7 +481,7 @@
 		       gnuserv-view-file-function
 		     gnuserv-find-file-function)
 		   path)
-	  (goto-line line)
+	  (when line (goto-line line))
 	  ;; Don't memorize the quick and view buffers.
 	  (unless (or quick view)
 	    (pushnew (current-buffer) (gnuclient-buffers client))