Skip to content

Instantly share code, notes, and snippets.

(defun tabbar-buffer-groups-with-elpy ()
"Return the list of group names the current buffer belongs to.
Return a list of one element based on major mode."
(list
(cond
((or (get-buffer-process (current-buffer))
;; Check if the major mode derives from `comint-mode' or
;; `compilation-mode'.
(tabbar-buffer-mode-derived-p
major-mode '(comint-mode compilation-mode)))

Keybase proof

I hereby claim:

  • I am jake-picwell on github.
  • I am jacobb (https://keybase.io/jacobb) on keybase.
  • I have a public key whose fingerprint is 7502 0A98 6CA0 252D 3DF8 1602 FC1B CBD6 7F36 3FFF

To claim this, I am signing this object: