Subject: bug#25110: closed (Re: bug#25110: defun nil should err)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 11 Dec 2016 03:00:03 +0000

Your bug report

#25110: defun nil should err

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].

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

Subject: Re: bug#25110: defun nil should err
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sat, 10 Dec 2016 21:59:53 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 26.1

Thanks; done in ba8e883.

Subject: defun nil should err
From: "Devon Sean McCullough" <[email-masked]>
To: [email-masked]
Date: Sun, 4 Dec 2016 12:39:51 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Not critical but a definite bug:

(defun nil () (error "Nil")) => nil
(symbol-function nil) => (lambda nil (error "Nil"))
(nil) ?? (void-function nil)
(funcall nil) ?? (void-function nil)

(setf (symbol-function nil) '+)
(symbol-function nil) => +
(nil 1 2) ?? (void-function nil)
(funcall nil 1 2) ?? (void-function nil)

	Peace
		—Devon