bug-global
[Top][All Lists]
Advanced

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

gtags.el: add function to kill all gtags buffers


From: klchxbec
Subject: gtags.el: add function to kill all gtags buffers
Date: Tue, 19 Jan 2010 13:09:15 +0100
User-agent: freenetMail

Hi,
 
After a code browsing session in emacs with gtags, a lot of GTAGS buffers get 
created. I frequently use
this function to kill them. Is there a chance this can be included in standard 
gtags.el release ?
 
(defun gtags-kill-buffers ()
  "Kill all GTAGS buffers."
  (interactive)
  (mapcar (function (lambda (buffer)
              (let ((bname (buffer-name buffer)))
            (if (string-match "^\*GTAGS" bname)
                (kill-buffer buffer)))))
      (buffer-list)))

--
K. Chowksey



Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html


reply via email to

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