diff options
| author | Miles Bader | 2001-11-09 01:03:03 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-11-09 01:03:03 +0000 |
| commit | 60ab6064b3a85227ab7ac419783a9de5533f4dbc (patch) | |
| tree | 6fc448c770b1b9a1813c0bc590d83da351340177 | |
| parent | 1cf72ff8ebc98819b086fac1c05c8df5ad4ef240 (diff) | |
| download | emacs-60ab6064b3a85227ab7ac419783a9de5533f4dbc.tar.gz emacs-60ab6064b3a85227ab7ac419783a9de5533f4dbc.zip | |
(functionp): Don't consider macros as functions.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 93fd9913af9..b6f13da44fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2001-11-09 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * subr.el (functionp): Don't consider macros as functions. | ||
| 4 | |||
| 1 | 2001-11-08 Miles Bader <miles@gnu.org> | 5 | 2001-11-08 Miles Bader <miles@gnu.org> |
| 2 | 6 | ||
| 3 | * subr.el (functionp): Make work correctly for macros and unbound | 7 | * subr.el (functionp): Make work correctly for macros and unbound |
diff --git a/lisp/subr.el b/lisp/subr.el index 27812d690cd..46f154df6ce 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1538,12 +1538,9 @@ configuration." | |||
| 1538 | (fboundp object) | 1538 | (fboundp object) |
| 1539 | (setq object (indirect-function object)) | 1539 | (setq object (indirect-function object)) |
| 1540 | (eq (car-safe object) 'autoload) | 1540 | (eq (car-safe object) 'autoload) |
| 1541 | (not (eq (car-safe | 1541 | (not (car-safe (cdr-safe (cdr-safe (cdr-safe (cdr-safe object))))))) |
| 1542 | (cdr-safe (cdr-safe (cdr-safe (cdr-safe object))))) | ||
| 1543 | 'keymap))) | ||
| 1544 | (subrp object) (byte-code-function-p object) | 1542 | (subrp object) (byte-code-function-p object) |
| 1545 | (eq (car-safe object) 'lambda) | 1543 | (eq (car-safe object) 'lambda))) |
| 1546 | (eq (car-safe object) 'macro))) | ||
| 1547 | 1544 | ||
| 1548 | (defun interactive-form (function) | 1545 | (defun interactive-form (function) |
| 1549 | "Return the interactive form of FUNCTION. | 1546 | "Return the interactive form of FUNCTION. |