Commit 4dacf0ff authored by Juri Linkov's avatar Juri Linkov
Browse files

(Info-fontify-node): Use `string-width' for fontifying underlined titles.

parent 99315976
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment