Built in way to close buffers opened by semantic-symref?

Lee Hinman <[email protected]> Thu, 26 Jan 2017 20:48:23 -0700
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
Hi Everyone,

I currently use `semantic-symref` occasionally in my project, using the
"global" method. However, I've noticed that it can sometimes open
maaaaany buffers (like ~300).

Is there a way to tell semantic-symref to close those buffers after it's
done with the analysis? I've noticed there is a
`semantic-symref-recently-opened-buffers` symbol, but I didn't see a
customization to automatically close those buffers.

I can write something like:

#+BEGIN_SRC emacs-lisp
(add-hook 'semantic-symref-results-mode-hook
          (lambda ()
            (kill-buffers semantic-symref-recently-opened-buffers)))
#+END_SRC

But I wanted to know if there was a built-in way to do this.

If not, is that something people are interested in a patch for? I'm
happy to add that.

--
;; Lee

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot