From 9bbe39270f5ca8640a72c74b5ce8f2bbd256e273 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 May 2005 13:35:56 +0000 Subject: (hexl-follow-line): Use with-no-warnings. --- lisp/hexl.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lisp') diff --git a/lisp/hexl.el b/lisp/hexl.el index 35674e1d10..db6edfa48c 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -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 () -- cgit v1.2.3