Hi, In the latest Emacs trunk the built-in function `commandp' returns t or nil while it returned an interactive form or nil formerly. Because of this, `defadvice' makes interactive Lisp functions non- interactive. See the `ad-interactive-form' function. Here is an example of what it causes:
(defun foo () (interactive) (message "Hello")) => foo (commandp 'foo) => t (let ((ad-default-compilation-action 'never)) (defadvice foo (around testing activate) "testing" (message "Good-bye"))) => foo (commandp 'foo) => nil (pp (symbol-function 'foo)) => (lambda nil "$ad-doc: foo$" t (let (ad-return-value) (message "Good-bye") ad-return-value)) Regards, _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug