mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(Info-fontify-node): Use `string-width' for fontifying underlined titles.
This commit is contained in:
parent
993159761a
commit
4dacf0ff4b
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-11-01 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change)
|
||||
|
||||
* info.el (Info-fontify-node): Use `string-width' for fontifying
|
||||
underlined titles.
|
||||
|
||||
2005-11-01 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* info.el (Info-fontify-node): Downcase node header keywords Node,
|
||||
|
|
|
|||
|
|
@ -3722,8 +3722,8 @@ the variable `Info-file-list-for-emacs'."
|
|||
;; underline has the same size as the text. A typical
|
||||
;; counter example is when a continuation "..." is alone
|
||||
;; on a line.
|
||||
(= (- (match-end 1) (match-beginning 1))
|
||||
(- (match-end 2) (match-beginning 2))))
|
||||
(= (string-width (match-string 1))
|
||||
(string-width (match-string 2))))
|
||||
(let* ((c (preceding-char))
|
||||
(face
|
||||
(cond ((= c ?*) 'info-title-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue