helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit d461f395456560a14c796585379c616a813bda7d
parent 0c9f07d0f6af08428092d322355a0d00c5033d7a
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Thu, 16 Nov 2017 22:25:09 +0000

Cleanup temporary info buffer

I can't reproduce this in a live Emacs instance, but it's failing in
the ERT CLI runner.

Diffstat:
Mhelpful.el | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/helpful.el b/helpful.el @@ -355,6 +355,8 @@ If the source code cannot be found, return the sexp used." "Return non-nil if SYM is in an Info manual." (let ((completions (info-lookup->completions 'symbol 'emacs-lisp-mode))) + (-when-let (buf (get-buffer " temp-info-look")) + (kill-buffer buf)) (or (assoc sym completions) (assoc-string sym completions))))