[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new fboundp behavior weird
From: |
Stefan Monnier |
Subject: |
Re: new fboundp behavior weird |
Date: |
Sun, 30 Dec 2012 22:06:08 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> the new behavior of fboundp seems really bad.
It's got nothing to do with fboundp. Please use M-x report-emacs-bug
when you bump into problems.
> special-form-p: function xxx is void.
Fixed by the patch below,
Stefan
=== modified file 'lisp/subr.el'
--- lisp/subr.el 2012-12-10 12:08:02 +0000
+++ lisp/subr.el 2012-12-31 03:03:46 +0000
@@ -2805,7 +2805,7 @@
(defun special-form-p (object)
"Non-nil if and only if OBJECT is a special form."
(if (and (symbolp object) (fboundp object))
- (setq object (indirect-function object)))
+ (setq object (indirect-function object t)))
(and (subrp object) (eq (cdr (subr-arity object)) 'unevalled)))
(defun field-at-pos (pos)
- new fboundp behavior weird, Thierry Volpiatto, 2012/12/29
- Re: new fboundp behavior weird, Thierry Volpiatto, 2012/12/29
- RE: new fboundp behavior weird, Drew Adams, 2012/12/29
- Re: new fboundp behavior weird, Thierry Volpiatto, 2012/12/29
- RE: new fboundp behavior weird, Drew Adams, 2012/12/29
- Re: new fboundp behavior weird, Thierry Volpiatto, 2012/12/29
- Re: new fboundp behavior weird, Vitalie Spinu, 2012/12/30
- Re: new fboundp behavior weird, Vitalie Spinu, 2012/12/30
Re: new fboundp behavior weird, Andreas Schwab, 2012/12/29
Re: new fboundp behavior weird,
Stefan Monnier <=