From b04a0fc4062c3aa34ceb67257baefcabd0541a2c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 1 Feb 2012 21:34:12 +0900 Subject: [PATCH] rm frame term func --- emacs.el | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/emacs.el b/emacs.el index fa08600..6936069 100644 --- a/emacs.el +++ b/emacs.el @@ -813,20 +813,6 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB." (multi-term) (ansi-term "/bin/bash")))) -(defvar my-frame-term-plist nil) -;; (setplist my-frame-term-plist nil) -(defun my-execute-or-find-term () - "" - (interactive) - (let* ((buf (plist-get my-frame-term-plist (selected-frame)))) - (if (and buf - (buffer-name buf)) - (switch-to-buffer buf) - (setq my-frame-term-plist - (plist-put my-frame-term-plist - (selected-frame) - (my-term)))))) - (defun my-delete-frame-or-kill-emacs () "delete frame when opening multiple frame, kill emacs when only one." (interactive)