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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.