changeset 85686:a55a536ce0db

* emulation/pc-select.el (next-line-mark, next-line-nomark) (previous-line-mark, previous-line-nomark): Wrap with-no-warnings around uses of previous-line and next-line. * diff.el (diff-old-file, diff-new-file, diff-extra-args): New defvars. * textmodes/css-mode.el (comment-continue): * net/browse-url.el (url-handler-regexp): * progmodes/idlw-help.el (idlwave-system-routines): Pacify byte-compiler.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 26 Oct 2007 22:24:14 +0000
parents 1989e8bb5c7b
children 666ace46440f
files lisp/ChangeLog lisp/diff.el lisp/emulation/pc-select.el lisp/net/browse-url.el lisp/progmodes/idlw-help.el lisp/textmodes/css-mode.el
diffstat 6 files changed, 28 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Oct 26 20:57:07 2007 +0000
+++ b/lisp/ChangeLog	Fri Oct 26 22:24:14 2007 +0000
@@ -1,8 +1,20 @@
 2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* emulation/pc-select.el (next-line-mark, next-line-nomark)
+	(previous-line-mark, previous-line-nomark): Wrap with-no-warnings
+	around uses of previous-line and next-line.
+
+	* diff.el (diff-old-file, diff-new-file, diff-extra-args): New
+	defvars.
+
+	* textmodes/css-mode.el (comment-continue):
+	* net/browse-url.el (url-handler-regexp):
+	* progmodes/idlw-help.el (idlwave-system-routines): Pacify
+	byte-compiler.
+
 	* textmodes/fill.el (fill-nobreak-p): Replace obsolete alias
-	line-move-invisible-p with invisible-p, it was removed on
-	2007-08-29.
+	line-move-invisible-p it's former definition:
+	invisible-p. line-move-invisible-p was removed on 2007-08-29.
 
 2007-10-26  Juanma Barranquero  <lekktu@gmail.com>
 
--- a/lisp/diff.el	Fri Oct 26 20:57:07 2007 +0000
+++ b/lisp/diff.el	Fri Oct 26 22:24:14 2007 +0000
@@ -73,6 +73,10 @@
 		      (if (equal 0 code) " (no differences)" "")
 		      (current-time-string))))))
 
+(defvar diff-old-file nil)
+(defvar diff-new-file nil)
+(defvar diff-extra-args nil)
+
 ;;;###autoload
 (defun diff (old new &optional switches no-async)
   "Find and display the differences between OLD and NEW files.
--- a/lisp/emulation/pc-select.el	Fri Oct 26 20:57:07 2007 +0000
+++ b/lisp/emulation/pc-select.el	Fri Oct 26 22:24:14 2007 +0000
@@ -351,7 +351,7 @@
 in `goal-column', which is nil when there is none."
   (interactive "p")
   (ensure-mark)
-  (next-line arg)
+  (with-no-warnings (next-line arg))
   (setq this-command 'next-line))
 
 (defun end-of-line-mark (&optional arg)
@@ -484,7 +484,7 @@
 in `goal-column', which is nil when there is none."
   (interactive "p")
   (setq mark-active nil)
-  (next-line arg)
+  (with-no-warnings (next-line arg))
   (setq this-command 'next-line))
 
 (defun end-of-line-nomark (&optional arg)
@@ -609,7 +609,7 @@
 to use and more reliable (no dependence on goal column, etc.)."
   (interactive "p")
   (ensure-mark)
-  (previous-line arg)
+  (with-no-warnings (previous-line arg))
   (setq this-command 'previous-line))
 
 (defun beginning-of-line-mark (&optional arg)
@@ -707,7 +707,7 @@
 Then it does not try to move vertically."
   (interactive "p")
   (setq mark-active nil)
-  (previous-line arg)
+  (with-no-warnings (previous-line arg))
   (setq this-command 'previous-line))
 
 (defun beginning-of-line-nomark (&optional arg)
--- a/lisp/net/browse-url.el	Fri Oct 26 20:57:07 2007 +0000
+++ b/lisp/net/browse-url.el	Fri Oct 26 22:24:14 2007 +0000
@@ -1153,6 +1153,8 @@
 	       browse-url-epiphany-program
 	       (append browse-url-epiphany-startup-arguments (list url))))))
 
+(defvar url-handler-regexp)
+
 ;;;###autoload
 (defun browse-url-emacs (url &optional new-window)
   "Ask Emacs to load URL into a buffer and show it in another window."
--- a/lisp/progmodes/idlw-help.el	Fri Oct 26 20:57:07 2007 +0000
+++ b/lisp/progmodes/idlw-help.el	Fri Oct 26 22:24:14 2007 +0000
@@ -1317,6 +1317,8 @@
 (defvar idlwave-help-assistant-help-with-topic-history nil
   "The history of help topics selected with the minibuffer.")
 
+(defvar idlwave-system-routines)
+
 (defun idlwave-help-assistant-help-with-topic (&optional topic)
   "Prompt for and provide help with TOPIC."
   (interactive)
--- a/lisp/textmodes/css-mode.el	Fri Oct 26 20:57:07 2007 +0000
+++ b/lisp/textmodes/css-mode.el	Fri Oct 26 22:24:14 2007 +0000
@@ -277,6 +277,8 @@
         (aset fc c 'indent-according-to-mode))
       (set (make-local-variable 'auto-fill-chars) fc))))
 
+(defvar comment-continue)
+
 (defun css-fill-paragraph (&optional justify)
   (save-excursion
     (let ((ppss (syntax-ppss))