diff --git a/modules/terminal.el b/modules/terminal.el index f45b7af..bc135ef 100644 --- a/modules/terminal.el +++ b/modules/terminal.el @@ -66,11 +66,6 @@ (kill-buffer (current-buffer)) (ansi-term term-cmd)) - (defun buffer-mode (buffer) - "Returns the major mode associated with a buffer." - (with-current-buffer buffer - major-mode)) - (defun first-matching-buffer (regex) "Find first buffer whose name matches REGEXP." (car (remove-if-not