GNU bug report logs - #25110
defun nil should err

Previous Next

Package: emacs;

Reported by: "Devon Sean McCullough" <Emacs-Hacker2016 <at> jovi.net>

Date: Sun, 4 Dec 2016 18:41:02 UTC

Severity: minor

Found in version 26.0.50

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Devon Sean McCullough" <Emacs-Hacker2016 <at> jovi.net>
Subject: bug#25110: closed (Re: bug#25110: defun nil should err)
Date: Sun, 11 Dec 2016 03:00:03 +0000
[Message part 1 (text/plain, inline)]
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 25110 <at> debbugs.gnu.org.

-- 
25110: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25110
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 25110-done <at> debbugs.gnu.org
Subject: Re: bug#25110: defun nil should err
Date: Sat, 10 Dec 2016 21:59:53 -0500
Version: 26.1

Thanks; done in ba8e883.

[Message part 3 (message/rfc822, inline)]
From: "Devon Sean McCullough" <Emacs-Hacker2016 <at> jovi.net>
To: bug-gnu-emacs <at> gnu.org
Subject: defun nil should err
Date: Sun, 4 Dec 2016 12:39:51 -0600
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




This bug report was last modified 8 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.