From: tfheen Date: Wed, 21 May 2003 12:24:08 +0000 (+0000) Subject: Make C-x C-c not quit on yiwaz only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc87609c52adb097d4d8c072532404014ed8d899;p=dotfiles Make C-x C-c not quit on yiwaz only git-svn-id: file:///svn/tfheen/trunk/dotfiles@148 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/emacs b/emacs index bf67a15..5972871 100644 --- a/emacs +++ b/emacs @@ -60,7 +60,7 @@ (global-set-key "\M-n" 'browse-url-at-point) (global-set-key (kbd "C-x C-c") #'(lambda () (interactive) - (if window-system + (if (and window-system (string-match "yiwaz" system-name)) (message "you must be kidding") (save-buffers-kill-emacs))))