]> git.eshelyaron.com Git - emacs.git/commitdiff
(hexl-follow-line): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Sun, 22 May 2005 13:35:56 +0000 (13:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 22 May 2005 13:35:56 +0000 (13:35 +0000)
lisp/hexl.el

index 35674e1d10af8de3ba3f01f2d2af7e4af4690999..db6edfa48c16523c44ea6f11c955c34372daf1fd 100644 (file)
@@ -926,10 +926,11 @@ Customize the variable `hexl-follow-ascii' to disable this feature."
   "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 ()