summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.el
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-02-23 14:44:56 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-23 14:44:56 +1100
commit6f0498bf290cbe066036f8bfe0d09ad99ddaab03 (patch)
tree391e4f25adbbe7d88e1f968bbef54ddeb1dcda84 /lisp/emacs-lisp/inline.el
parent96e32bbb736ec6e0a7278ae864098c7c812b05a4 (diff)
downloademacs-6f0498bf290cbe066036f8bfe0d09ad99ddaab03.tar.gz
emacs-6f0498bf290cbe066036f8bfe0d09ad99ddaab03.tar.bz2
emacs-6f0498bf290cbe066036f8bfe0d09ad99ddaab03.zip
ert-with-function-mocked: New macro
* lisp/emacs-lisp/ert-x.el (ert-with-function-mocked): New macro which allows evaluating code while particular function is replaced with a mock. The original definition of said function is restored once the macro finishes.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions