Parcourir la source

fix my-term

pull/1/head
10sr il y a 12 ans
Parent
révision
01062504ea
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. +5
    -3
      emacs.el

+ 5
- 3
emacs.el Voir le fichier

@@ -1756,8 +1756,8 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer."

(add-hook 'find-file-hook
'my-frame-buffer-add)
(add-hook 'term-mode-hook
'my-frame-buffer-add)
;; (add-hook 'term-mode-hook
;; 'my-frame-buffer-add)
(add-hook 'eshell-mode-hook
'my-frame-buffer-add)
(add-hook 'Man-mode-hook
@@ -1789,7 +1789,9 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer."
(if (eq system-type 'windows-nt)
(eshell)
(if (require 'multi-term nil t)
(multi-term-dedicated-open)
(if (multi-term-dedicated-exist-p)
(multi-term-dedicated-select)
(multi-term-dedicated-open))
(ansi-term "/bin/bash"))))

(defun my-delete-frame-or-kill-emacs ()


Chargement…
Annuler
Enregistrer