From 87a5d27c53536727c3242297e2231a64414345ea Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Wed, 30 Aug 2017 23:44:01 +0100 Subject: [PATCH] Remove redundant function --- modules/terminal.el | 5 ----- 1 file changed, 5 deletions(-) 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