diff options
| author | Stefan Monnier | 2025-12-08 09:51:52 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2025-12-08 09:51:52 -0500 |
| commit | 5fcafba4e3c9776d435d1a067b42c304efc752d7 (patch) | |
| tree | 032f3990382296df8e2be2c9a0c1e6befd9e61e7 | |
| parent | ad72596067bafe69eab822e57730a2836055d131 (diff) | |
| download | emacs-5fcafba4e3c9776d435d1a067b42c304efc752d7.tar.gz emacs-5fcafba4e3c9776d435d1a067b42c304efc752d7.zip | |
lisp/help-fns.el (describe-symbol): Don't silently do nothing
| -rw-r--r-- | lisp/help-fns.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index a4a3bb07bde..1c2c110262d 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -1986,6 +1986,8 @@ current buffer and the selected frame, respectively." | |||
| 1986 | (cons name (buffer-string)))) | 1986 | (cons name (buffer-string)))) |
| 1987 | describe-symbol-backends)))) | 1987 | describe-symbol-backends)))) |
| 1988 | (single (null (cdr docs)))) | 1988 | (single (null (cdr docs)))) |
| 1989 | (when (null docs) ; Don't silently do nothing. | ||
| 1990 | (user-error "Unknown symbol: %S" symbol)) | ||
| 1989 | (while (cdr docs) | 1991 | (while (cdr docs) |
| 1990 | (goto-char (point-min)) | 1992 | (goto-char (point-min)) |
| 1991 | (let ((inhibit-read-only t) | 1993 | (let ((inhibit-read-only t) |