emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `interactive-form` symbol property (was: [Emacs-diffs] emacs-26 9a53


From: Radon Rosborough
Subject: Re: `interactive-form` symbol property (was: [Emacs-diffs] emacs-26 9a53b6d: Say how to override a primitive interactive spec)
Date: Sun, 24 Jun 2018 15:57:28 -0600

> You can't advise a function that doesn't exist yet.

Actually, you can. Check it out:

    (advice-add #'nonexistent-function :before
                (lambda ()
                  (message "The advice works!")))

    (defun nonexistent-function ()
      (message "The original function was called."))

    (nonexistent-function)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]