Fix describe-function-1 test failure from previous change
* lisp/help-fns.el (describe-function-1): Fix test failure from previous patch.
This commit is contained in:
parent
95a021fe5f
commit
d18764000f
2 changed files with 10 additions and 8 deletions
|
@ -962,14 +962,15 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
|
|||
(let ((pt1 (with-current-buffer (help-buffer) (point))))
|
||||
(help-fns-function-description-header function)
|
||||
(with-current-buffer (help-buffer)
|
||||
(fill-region-as-paragraph
|
||||
(save-excursion
|
||||
(goto-char pt1)
|
||||
(forward-line 0)
|
||||
(point))
|
||||
(point)
|
||||
nil t)
|
||||
(ensure-empty-lines)))
|
||||
(let ((inhibit-read-only t))
|
||||
(fill-region-as-paragraph
|
||||
(save-excursion
|
||||
(goto-char pt1)
|
||||
(forward-line 0)
|
||||
(point))
|
||||
(point)
|
||||
nil t)
|
||||
(ensure-empty-lines))))
|
||||
|
||||
(pcase-let* ((`(,real-function ,def ,_aliased ,real-def)
|
||||
(help-fns--analyze-function function))
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
(require 'ert)
|
||||
(require 'help-fns)
|
||||
(require 'subr-x)
|
||||
|
||||
(autoload 'help-fns-test--macro "foo" nil nil t)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue