Remove redundant function
This commit is contained in:
parent
91f56b7242
commit
87a5d27c53
@ -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
|
||||
|
Reference in New Issue
Block a user