Kaynağa Gözat

fix my-term

pull/1/head
10sr 12 yıl önce
ebeveyn
işleme
f0361c6a21
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el Dosyayı Görüntüle

@@ -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."


Yükleniyor…
İptal
Kaydet