# HG changeset patch # User Richard M. Stallman # Date 1116768956 0 # Node ID f679b0ed3d82b425aa83d80d4044c0f852d54e31 # Parent 1f84b1fd25606eb890bdd6666437c97c39db4609 (hexl-follow-line): Use with-no-warnings. diff -r 1f84b1fd2560 -r f679b0ed3d82 lisp/hexl.el --- 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 ()