Sfoglia il codice sorgente

fix my-term

pull/1/head
10sr 11 anni fa
parent
commit
f0361c6a21
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el Vedi File

@@ -1789,10 +1789,11 @@ 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)
(if (multi-term-dedicated-exist-p)
(multi-term-dedicated-select)
(multi-term-dedicated-open))
(ansi-term "/bin/bash"))))
(progn
(unless (multi-term-dedicated-exist-p)
(multi-term-dedicated-open))
(multi-term-dedicated-select))
(ansi-term shell-file-name))))

(defun my-delete-frame-or-kill-emacs ()
"delete frame when opening multiple frame, kill emacs when only one."


Caricamento…
Annulla
Salva