Преглед на файлове

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"


Зареждане…
Отказ
Запис