changeset 65186:d40a2470e3dd

(news-add-news-group): Don't use `end-of-line'. (caesar-translate-table, minor-modes, news-buffer-save, news-group-name, news-minor-modes): Add defvars.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 29 Aug 2005 10:13:14 +0000
parents 7d1da711be4c
children 7e96548de65c
files lisp/obsolete/rnews.el
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/obsolete/rnews.el	Mon Aug 29 10:12:36 2005 +0000
+++ b/lisp/obsolete/rnews.el	Mon Aug 29 10:13:14 2005 +0000
@@ -59,6 +59,12 @@
 (require 'mail-utils)
 (require 'sendmail)
 
+(defvar caesar-translate-table)
+(defvar minor-modes)
+(defvar news-buffer-save)
+(defvar news-group-name)
+(defvar news-minor-modes)
+
 (autoload 'rmail-output "rmailout"
   "Append this message to Unix mail file named FILE-NAME."
   t)
@@ -887,7 +893,7 @@
 		    (progn
 		      (message
 		       "Added %s to your list of newsgroups." gp)
-		      (end-of-buffer)
+		      (goto-char (point-max))
 		      (insert gp ": 1-1\n")))
 		  (search-backward gp nil t)
 		  (let (start end endofline tem)