2
如何更改我的暫存緩衝區的保存位置? (我問,因爲我rsync多個計算機之間的幾個文件夾,並希望臨時緩衝區來爲騎。)如何更改我的暫存緩衝區的保存位置?
如何更改我的暫存緩衝區的保存位置? (我問,因爲我rsync多個計算機之間的幾個文件夾,並希望臨時緩衝區來爲騎。)如何更改我的暫存緩衝區的保存位置?
將此添加到您的.emacs
文件應該做的伎倆。顯然爲scratch buffer定製文件。
(defvar scratch-buffer-file-name "~/sktch.el"
"file name for *scratch* buffer")
(defun synch-scratch-with-file()
"replace *scratch* buffer with the file scratch-buffer-file-name"
(save-window-excursion
(find-file scratch-buffer-file-name)
(kill-buffer "*scratch*")
(rename-buffer "*scratch*")
(lisp-interaction-mode)))
(synch-scratch-with-file)