aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2005-05-22 13:35:56 +0000
committerRichard M. Stallman <[email protected]>2005-05-22 13:35:56 +0000
commit9bbe39270f5ca8640a72c74b5ce8f2bbd256e273 (patch)
treecefd4b317a2b6827ff09bbbd86648b90a66924f9 /lisp
parent2225a1961e91b3b32a14e9f2ab03699345aab697 (diff)
(hexl-follow-line): Use with-no-warnings.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/hexl.el9
1 files changed, 5 insertions, 4 deletions
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 ()