defuns-buffers: ignore workgroups2 fns when in terminal emacs
This commit is contained in:
parent
0a78922471
commit
c312e235b1
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ Inspired from http://demonastery.org/2013/04/emacs-evil-narrow-region/"
|
||||||
|
|
||||||
;; Buffer Life and Death ;;;;;;;;;;;;;;;
|
;; Buffer Life and Death ;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
(unless (display-graphic-p)
|
||||||
|
(defalias 'wg-workgroup-associated-buffers 'ignore)
|
||||||
|
(defalias 'wg-current-workgroup 'ignore)
|
||||||
|
(defalias 'wg-save-session 'ignore))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun narf/get-buffers (&optional project-p)
|
(defun narf/get-buffers (&optional project-p)
|
||||||
"Get all buffers in the current workgroup.
|
"Get all buffers in the current workgroup.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue