From: Richard M. Stallman Date: Sun, 22 May 2005 13:35:56 +0000 (+0000) Subject: (hexl-follow-line): Use with-no-warnings. X-Git-Tag: ttn-vms-21-2-B4~68 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9bbe39270f5ca8640a72c74b5ce8f2bbd256e273;p=emacs.git (hexl-follow-line): Use with-no-warnings. --- diff --git a/lisp/hexl.el b/lisp/hexl.el index 35674e1d10a..db6edfa48c1 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 ()