diff options
| author | Robert Cochran | 2016-07-15 12:45:56 -0700 |
|---|---|---|
| committer | Noam Postavsky | 2016-07-16 21:33:27 -0400 |
| commit | 9356fe239281ca15e12a4e5e93d7d00c56df2626 (patch) | |
| tree | 266b75f91f222291d5e7aefa28a80eea53379a9a /src/data.c | |
| parent | 219b39f5215200fa8128fd3b595017e0a380eb8f (diff) | |
| download | emacs-9356fe239281ca15e12a4e5e93d7d00c56df2626.tar.gz emacs-9356fe239281ca15e12a4e5e93d7d00c56df2626.zip | |
Expand FIXME near definition of fboundp
This expansion of the FIXME is so that future developers are aware of
the potential problems of aliasing fboundp to symbol-function without
taking backwards compatibility into account.
* src/data.c (fboundp): Note potential backwards compatibility issues in
FIXME.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c index 2574cbbd764..d14c84e0472 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -629,7 +629,12 @@ global value outside of any lexical scope. */) | |||
| 629 | return (EQ (valcontents, Qunbound) ? Qnil : Qt); | 629 | return (EQ (valcontents, Qunbound) ? Qnil : Qt); |
| 630 | } | 630 | } |
| 631 | 631 | ||
| 632 | /* FIXME: Make it an alias for function-symbol! */ | 632 | /* FIXME: It has been previously suggested to make this function an |
| 633 | alias for symbol-function, but upon discussion at Debbug#23957, | ||
| 634 | there is a risk breaking backward compatiblity, as some users of | ||
| 635 | fboundp may expect `t' in particular, rather than any true | ||
| 636 | value. An alias is still welcome so long as the compatibility | ||
| 637 | issues are addressed. */ | ||
| 633 | DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0, | 638 | DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0, |
| 634 | doc: /* Return t if SYMBOL's function definition is not void. */) | 639 | doc: /* Return t if SYMBOL's function definition is not void. */) |
| 635 | (register Lisp_Object symbol) | 640 | (register Lisp_Object symbol) |