Browse Source

small changes

pull/1/head
10sr 12 years ago
parent
commit
b439b9f425
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      .emacs.el

+ 1
- 3
.emacs.el View File

@@ -811,8 +811,6 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
'my-frame-buffer-add) 'my-frame-buffer-add)
(add-hook 'dired-mode-hook (add-hook 'dired-mode-hook
'my-frame-buffer-add) 'my-frame-buffer-add)
(add-hook 'term-mode-hook
'my-frame-buffer-add)
(add-hook 'kill-buffer-hook (add-hook 'kill-buffer-hook
'my-frame-buffer-remove) 'my-frame-buffer-remove)
(add-hook 'delete-frame-functions (add-hook 'delete-frame-functions
@@ -1707,7 +1705,7 @@ when SEC is nil, stop auto save if enabled."
(my-execute-or-find-term))) (my-execute-or-find-term)))


(defun my-term () (defun my-term ()
""
"open terminal buffer and return that buffer."
(interactive) (interactive)
(if (eq system-type 'windows-nt) (if (eq system-type 'windows-nt)
(eshell t) (eshell t)


Loading…
Cancel
Save