unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25110: defun nil should err
@ 2016-12-04 18:39 Devon Sean McCullough
  2016-12-11  2:59 ` Glenn Morris
  2016-12-11 16:52 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Devon Sean McCullough @ 2016-12-04 18:39 UTC (permalink / raw)
  To: 25110

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-12 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-04 18:39 bug#25110: defun nil should err Devon Sean McCullough
2016-12-11  2:59 ` Glenn Morris
2016-12-11  3:23   ` Glenn Morris
2016-12-12 20:24     ` Glenn Morris
2016-12-11 16:52 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).