changeset 62617:f679b0ed3d82

(hexl-follow-line): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 May 2005 13:35:56 +0000
parents 1f84b1fd2560
children ea81a54481d4
files lisp/hexl.el
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Sun May 22 13:35:21 2005 +0000
+++ b/lisp/hexl.el	Sun May 22 13:35:56 2005 +0000
@@ -926,10 +926,11 @@
   "Activate `hl-line-mode'"
   (require 'frame)
   (require 'hl-line)
-  (set (make-local-variable 'hl-line-range-function)
-       'hexl-highlight-line-range)
-  (set (make-local-variable 'hl-line-face) 
-       'highlight)
+  (with-no-warnings
+    (set (make-local-variable 'hl-line-range-function)
+	 'hexl-highlight-line-range)
+    (set (make-local-variable 'hl-line-face) 
+	 'highlight))
   (hl-line-mode 1))
 
 (defun hexl-highlight-line-range ()