diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-05-22 13:35:56 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-05-22 13:35:56 +0000 |
commit | 9bbe39270f5ca8640a72c74b5ce8f2bbd256e273 (patch) | |
tree | cefd4b317a2b6827ff09bbbd86648b90a66924f9 /lisp/hexl.el | |
parent | 2225a1961e91b3b32a14e9f2ab03699345aab697 (diff) | |
download | emacs-9bbe39270f5ca8640a72c74b5ce8f2bbd256e273.tar.gz |
(hexl-follow-line): Use with-no-warnings.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r-- | lisp/hexl.el | 9 |
1 files changed, 5 insertions, 4 deletions
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 () |