emacs中关闭所有打开的文件的函数

发布: 2009-08-31 21:50

[code type="lisp"]
;; 关闭所有打开的文件, C-c x
(defun close-all-buffers()
(interactive)
(mapc 'kill-buffer (buffer-list)))
(global-set-key "\C-cx" 'close-all-buffers)
[/code]


原文: http://qtchina.tk/?q=node/330

Powered by zexport