From 2d77d354f1a21047ad037c52e3a6978e783a51a5 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 10 Aug 2005 18:15:50 +0000 Subject: [PATCH] (hexl-address-region): (hexl-ascii-region, hexl-font-lock-keywords): (hexl-highlight-line-range): Use the term "region" instead of "area" for consistency with the other symbols defined in hexl.el. --- lisp/ChangeLog | 8 ++++++++ lisp/hexl.el | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 43c4af17f94..8668a91a903 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2005-08-11 Masatake YAMATO + + * hexl.el (hexl-address-region): + (hexl-ascii-region, hexl-font-lock-keywords): + (hexl-highlight-line-range): Use the term "region" + instead of "area" for consistency with the other symbols + defined in hexl.el. + 2005-08-09 Luc Teirlinck * menu-bar.el (menu-bar-options-save): Move `display-time-mode' to diff --git a/lisp/hexl.el b/lisp/hexl.el index 20430284a57..abafba30267 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -85,12 +85,12 @@ Quoting cannot be used, so the arguments cannot themselves contain spaces." :options '(hexl-follow-line hexl-activate-ruler turn-on-eldoc-mode) :group 'hexl) -(defface hexl-address-area +(defface hexl-address-region '((t (:inherit header-line))) "Face used in address are of hexl-mode buffer." :group 'hexl) -(defface hexl-ascii-area +(defface hexl-ascii-region '((t (:inherit header-line))) "Face used in ascii are of hexl-mode buffer." :group 'hexl) @@ -121,8 +121,8 @@ Quoting cannot be used, so the arguments cannot themselves contain spaces." (defvar hexl-font-lock-keywords '(("^\\([0-9a-f]+:\\).\\{40\\} \\(.+$\\)" ;; "^\\([0-9a-f]+:\\).+ \\(.+$\\)" - (1 'hexl-address-area t t) - (2 'hexl-ascii-area t t))) + (1 'hexl-address-region t t) + (2 'hexl-ascii-region t t))) "Font lock keywords used in `hexl-mode'.") ;; routines @@ -935,7 +935,7 @@ Customize the variable `hexl-follow-ascii' to disable this feature." (hl-line-mode 1)) (defun hexl-highlight-line-range () - "Return the range of address area for the point. + "Return the range of address region for the point. This function is assumed to be used as call back function for `hl-line-mode'." (cons (line-beginning-position) -- 2.39.2