comparison .elisp/settings/90.keybindings.el @ 95:df45e402581c

Save in server buffer also marks as done.
author Augie Fackler <durin42@gmail.com>
date Thu, 30 Apr 2009 15:04:11 -0500
parents 45d7441d0cf2
children 0c1db2df2bf8
comparison
equal deleted inserted replaced
94:9052c3801744 95:df45e402581c
12 ; M-t is what I want for the textmate file finding 12 ; M-t is what I want for the textmate file finding
13 (global-set-key [(meta t)] 'textmate-goto-file) 13 (global-set-key [(meta t)] 'textmate-goto-file)
14 (global-set-key [(meta z)] 'textmate-find-in-project-type) 14 (global-set-key [(meta z)] 'textmate-find-in-project-type)
15 (global-set-key [(meta m)] 'iconify-or-deiconify-frame) 15 (global-set-key [(meta m)] 'iconify-or-deiconify-frame)
16 (global-set-key [(control backspace)] 'kill-word) 16 (global-set-key [(control backspace)] 'kill-word)
17
18 (defun server-save-buffer-and-finish ()
19 (interactive)
20 (save-buffer) (server-edit))
21 (add-hook 'server-switch-hook
22 '(lambda ()(local-set-key "\M-s" 'server-save-buffer-and-finish )))