리비젼 7 과 현재 리비젼 간의 차이
요약: Rollback to 2008-09-05 00:16 UTC차이를 찾지 못함.
You don’t want to type C-x 5 2 (wait) M-x command anymore?
(defun run-command-other-frame (command) "Run COMMAND in a new frame." (interactive "CC-x 5 M-x ") (select-frame (new-frame)) (call-interactively command)) (global-set-key "\C-x5\M-x" 'run-command-other-frame)
You can now use “C-x 5 M-x command-name RET” to run a command in a new frame. Whee!
Also, you can now define commands like:
(defun buffer-menu-other-frame () (interactive) (run-command-other-frame 'buffer-menu))
Have fun! See DefiningCommands for more fun with command syntax.