diff lisp/emulation/pc-select.el @ 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 ac0efac52065
children 39b88001b04b 4bc33ffdda1a
line wrap: on
line diff
--- 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)