diff options
| -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 () |