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
86884919
Commit
86884919
authored
Nov 24, 1995
by
Richard M. Stallman
Browse files
(Man-fontify-manpage, Man-cleanup-manpage):
Convert \255 to a dash.
parent
23a58692
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lisp/man.el
lisp/man.el
+6
-0
No files found.
lisp/man.el
View file @
86884919
...
...
@@ -624,6 +624,9 @@ Same for the ANSI bold and normal escape sequences."
(
while
(
re-search-forward
"[-|]\\(\b[-|]\\)+"
nil
t
)
(
replace-match
"+"
)
(
put-text-property
(
1-
(
point
))
(
point
)
'face
'bold
))
;; \255 is some kind of dash in Latin-1.
(
goto-char
(
point-min
))
(
while
(
search-forward
"\255"
nil
t
)
(
replace-match
"-"
))
(
message
"%s man page made up"
Man-arguments
))
(
defun
Man-cleanup-manpage
()
...
...
@@ -647,6 +650,9 @@ Same for the ANSI bold and normal escape sequences."
))
(
goto-char
(
point-min
))
(
while
(
re-search-forward
"[-|]\\(\b[-|]\\)+"
nil
t
)
(
replace-match
"+"
))
;; \255 is some kind of dash in Latin-1.
(
goto-char
(
point-min
))
(
while
(
search-forward
"\255"
nil
t
)
(
replace-match
"-"
))
(
message
"%s man page cleaned up"
Man-arguments
))
(
defun
Man-bgproc-sentinel
(
process
msg
)
...
...
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