From: Eli Zaretskii Date: Sat, 16 Jul 2005 11:58:10 +0000 (+0000) Subject: Bind "C-x #" in a way that works even if C-x is redefined to a command key, X-Git-Tag: emacs-pretest-22.0.90~8105 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=772c5eb74ca6d8f79c0d098411a32607ebad5c4c;p=emacs.git Bind "C-x #" in a way that works even if C-x is redefined to a command key, not a prefix key. --- diff --git a/lisp/server.el b/lisp/server.el index 73878d8435b..48ff50f3dbc 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -625,7 +625,7 @@ Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it." ;; a minibuffer/dedicated-window (if there's no other). (error (pop-to-buffer next-buffer))))))))) -(global-set-key "\C-x#" 'server-edit) +(define-key ctl-x-map "#" 'server-edit) (defun server-unload-hook () (server-start t)