comparison lisp/files.el @ 83192:e2567214221d

Change binding of C-x C-c to only exit emacsclient, not Emacs itself. * lisp/server.el (server-save-buffers-kill-display): New function. * lisp/files.el (ctl-x-map): Change binding of C-x C-c to server-save-buffers-kill-display. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-232
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 16 Aug 2004 19:54:16 +0000
parents 8fc5472a5271
children b5dee7c1d483
comparison
equal deleted inserted replaced
83191:bc4b91420ff4 83192:e2567214221d
4568 (define-key ctl-x-map "s" 'save-some-buffers) 4568 (define-key ctl-x-map "s" 'save-some-buffers)
4569 (define-key ctl-x-map "\C-w" 'write-file) 4569 (define-key ctl-x-map "\C-w" 'write-file)
4570 (define-key ctl-x-map "i" 'insert-file) 4570 (define-key ctl-x-map "i" 'insert-file)
4571 (define-key esc-map "~" 'not-modified) 4571 (define-key esc-map "~" 'not-modified)
4572 (define-key ctl-x-map "\C-d" 'list-directory) 4572 (define-key ctl-x-map "\C-d" 'list-directory)
4573 (define-key ctl-x-map "\C-c" 'save-buffers-kill-emacs) 4573 (define-key ctl-x-map "\C-c" 'server-save-buffers-kill-display)
4574 (define-key ctl-x-map "\C-q" 'toggle-read-only) 4574 (define-key ctl-x-map "\C-q" 'toggle-read-only)
4575 4575
4576 (define-key ctl-x-4-map "f" 'find-file-other-window) 4576 (define-key ctl-x-4-map "f" 'find-file-other-window)
4577 (define-key ctl-x-4-map "r" 'find-file-read-only-other-window) 4577 (define-key ctl-x-4-map "r" 'find-file-read-only-other-window)
4578 (define-key ctl-x-4-map "\C-f" 'find-file-other-window) 4578 (define-key ctl-x-4-map "\C-f" 'find-file-other-window)