diff options
| author | Richard M. Stallman | 2005-05-22 13:35:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-22 13:35:56 +0000 |
| commit | 9bbe39270f5ca8640a72c74b5ce8f2bbd256e273 (patch) | |
| tree | cefd4b317a2b6827ff09bbbd86648b90a66924f9 | |
| parent | 2225a1961e91b3b32a14e9f2ab03699345aab697 (diff) | |
| download | emacs-9bbe39270f5ca8640a72c74b5ce8f2bbd256e273.tar.gz emacs-9bbe39270f5ca8640a72c74b5ce8f2bbd256e273.zip | |
(hexl-follow-line): Use with-no-warnings.
| -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." | |||
| 926 | "Activate `hl-line-mode'" | 926 | "Activate `hl-line-mode'" |
| 927 | (require 'frame) | 927 | (require 'frame) |
| 928 | (require 'hl-line) | 928 | (require 'hl-line) |
| 929 | (set (make-local-variable 'hl-line-range-function) | 929 | (with-no-warnings |
| 930 | 'hexl-highlight-line-range) | 930 | (set (make-local-variable 'hl-line-range-function) |
| 931 | (set (make-local-variable 'hl-line-face) | 931 | 'hexl-highlight-line-range) |
| 932 | 'highlight) | 932 | (set (make-local-variable 'hl-line-face) |
| 933 | 'highlight)) | ||
| 933 | (hl-line-mode 1)) | 934 | (hl-line-mode 1)) |
| 934 | 935 | ||
| 935 | (defun hexl-highlight-line-range () | 936 | (defun hexl-highlight-line-range () |