Subject: bug#16807: 24.3.50; changes in advice.el break multi-term.el

From: henry atting <[email-masked]>
Date: Wed, 19 Feb 2014 06:55:21 +0100

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.8.6)
 of 2014-02-08 on bye

I know multi-term.el is not part of emacs and, what is more, isn't
developed anymore as far as I can see. So take it much more as a brief
remark than as a bug report.

Following function and macro where removed from advice.el:

(defmacro ad-macro-p (definition)
  ;;"non-nil if DEFINITION is a macro."
  (` (eq (car-safe (, definition)) 'macro)))

(defun ad-advised-definition-p (definition)
  ;;"non-nil if DEFINITION was generated from advice information."
  (if (or (ad-lambda-p definition)
	  (ad-macro-p definition)
	  (ad-compiled-p definition))
      (let ((docstring (ad-docstring definition)))
	(and (stringp docstring)
	     (string-match
	      ad-advised-definition-docstring-regexp docstring)))))

But multi-term depends on it.

Putting these lines somewhere at the beginning of ~/.emacs works for me
as a workaround.