Subject: bug#25847: closed (Re: bug#25847: 26.0.50; Error completing help with nil entries in load-history)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 01 Mar 2017 19:38:03 +0000

Your bug report

#25847: 26.0.50; Error completing help with nil entries in load-history

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25847: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25847
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25847: 26.0.50; Error completing help with nil entries in load-history
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 01 Mar 2017 14:37:11 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 26.1

Yuri D'Elia wrote:

> (defun test () "" nil) ;; insert text in buffer *scratch*
> C-M-x ;; eval-defun (adds an entry to load-history with null file)
> C-h f package- TAB ;; crashes

Thanks; fixed in ebb1050.

> This is caused by `help--loaded-p' not handling nil entries, introduced
> in 0c31ff43b6880c84498fbe1f06e1e5809b55e838.

I don't see what that commit has to do with it.

Subject: 26.0.50; Error completing help with nil entries in load-history
From: Yuri D'Elia <[email-masked]>
To: [email-masked]
Cc: Richard Copley <[email-masked]>
Date: Thu, 23 Feb 2017 11:49:11 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This is a regression in emacs 26. How to reproduce:

(defun test () "" nil) ;; insert text in buffer *scratch*
C-M-x ;; eval-defun (adds an entry to load-history with null file)
C-h f package- TAB ;; crashes

This is caused by `help--loaded-p' not handling nil entries, introduced
in 0c31ff43b6880c84498fbe1f06e1e5809b55e838.