(help-add-fundoc-usage): Pass an empty string to `format' if
no newlines are necessary.
This commit is contained in:
parent
6901b111fe
commit
88ff724bdf
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-12 John Paul Wallington <jpw@gnu.org>
|
||||
|
||||
* help-fns.el (help-add-fundoc-usage): Pass an empty string to
|
||||
`format' if no newlines are necessary.
|
||||
|
||||
2003-04-11 John Paul Wallington <jpw@gnu.org>
|
||||
|
||||
* type-break.el (type-break-warning-countdown-string): Doc fix.
|
||||
|
|
|
@ -181,7 +181,7 @@ The usage info is built from ARGLIST. DOC can be nil."
|
|||
doc
|
||||
(format "%s%s%s" doc
|
||||
(if (string-match "\n?\n\\'" doc)
|
||||
(if (< (- (match-end 0) (match-beginning 0)) 2) "\n")
|
||||
(if (< (- (match-end 0) (match-beginning 0)) 2) "\n" "")
|
||||
"\n\n")
|
||||
(help-make-usage 'fn arglist))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue