Remove redundant function

This commit is contained in:
Wojciech Kozlowski 2017-08-30 23:44:01 +01:00
parent 91f56b7242
commit 87a5d27c53

View File

@ -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