ソースを参照

Fix some prefs for darwin environment

pull/15/head
10sr 9年前
コミット
0aa00bf691
2個のファイルの変更13行の追加3行の削除
  1. +6
    -2
      emacs.el
  2. +7
    -1
      shrc

+ 6
- 2
emacs.el ファイルの表示

@@ -942,8 +942,12 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(number-to-string (emacs-pid))))

;; In Cygwin Environment `server-runnning-p' stops when server-use-tcp is nil
(when (eq system-type
'cygwin)
;; In Darwin environment, init fails with message like 'Service name too long'
;; when server-use-tcp is nil
(when (or (eq system-type
'cygwin)
(eq system-type
'darwin))
(setq server-use-tcp t))

(defun my-construct-emacsclient-editor-command ()


+ 7
- 1
shrc ファイルの表示

@@ -613,7 +613,13 @@ __realpath(){
fi
}

__safe_alias tmux='env -u SHLVL tmux'
if $isdarwin
then
# I want to use env -u, but darwin env does not provide this option
__safe_alias tmux='SHLVL= tmux'
else
__safe_alias tmux='env -u SHLVL tmux'
fi
tx(){
tmux start-server
if test -z "$1"


読み込み中…
キャンセル
保存