Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4dacf0ff
Commit
4dacf0ff
authored
Nov 01, 2005
by
Juri Linkov
Browse files
(Info-fontify-node): Use `string-width' for fontifying underlined titles.
parent
99315976
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/info.el
lisp/info.el
+2
-2
No files found.
lisp/ChangeLog
View file @
4dacf0ff
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,
...
...
lisp/info.el
View file @
4dacf0ff
...
...
@@ -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-
beginn
ing
1
))
(
-
(
match-end
2
)
(
match-
beginn
ing
2
))))
(
=
(
string-width
(
match-
str
ing
1
))
(
string-width
(
match-
str
ing
2
))))
(
let*
((
c
(
preceding-char
))
(
face
(
cond
((
=
c
?*
)
'info-title-1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment