diff options
| author | Juri Linkov | 2005-11-01 10:04:19 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-11-01 10:04:19 +0000 |
| commit | 4dacf0ff4bdb950dbc4f168be79426e77c944ecb (patch) | |
| tree | 0a233eef07f17233e9a32b8ef4eccc5cbb7a0fbc /lisp | |
| parent | 993159761a8d77bd458a8f5841daeffd5f785944 (diff) | |
| download | emacs-4dacf0ff4bdb950dbc4f168be79426e77c944ecb.tar.gz emacs-4dacf0ff4bdb950dbc4f168be79426e77c944ecb.zip | |
(Info-fontify-node): Use `string-width' for fontifying underlined titles.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/info.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 03356b20c09..5cfa331cb34 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-11-01 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change) | ||
| 2 | |||
| 3 | * info.el (Info-fontify-node): Use `string-width' for fontifying | ||
| 4 | underlined titles. | ||
| 5 | |||
| 1 | 2005-11-01 Juri Linkov <juri@jurta.org> | 6 | 2005-11-01 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * info.el (Info-fontify-node): Downcase node header keywords Node, | 8 | * info.el (Info-fontify-node): Downcase node header keywords Node, |
diff --git a/lisp/info.el b/lisp/info.el index a151bea0444..1b408f2077e 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -3722,8 +3722,8 @@ the variable `Info-file-list-for-emacs'." | |||
| 3722 | ;; underline has the same size as the text. A typical | 3722 | ;; underline has the same size as the text. A typical |
| 3723 | ;; counter example is when a continuation "..." is alone | 3723 | ;; counter example is when a continuation "..." is alone |
| 3724 | ;; on a line. | 3724 | ;; on a line. |
| 3725 | (= (- (match-end 1) (match-beginning 1)) | 3725 | (= (string-width (match-string 1)) |
| 3726 | (- (match-end 2) (match-beginning 2)))) | 3726 | (string-width (match-string 2)))) |
| 3727 | (let* ((c (preceding-char)) | 3727 | (let* ((c (preceding-char)) |
| 3728 | (face | 3728 | (face |
| 3729 | (cond ((= c ?*) 'info-title-1) | 3729 | (cond ((= c ?*) 'info-title-1) |