|
From: | Juri Linkov |
Subject: | Re: Why is `C-M-x' only for top-level defuns? |
Date: | Thu, 12 Jan 2012 12:30:21 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) |
> I'm not very much in favor of trying to make (1) smarter because it > will make it less uniform. So we could maybe provide a new command > half-way between C-x C-e and C-M-x, or maybe change (1) so that it uses > the region if active. (if (use-region-p) (eval-region (region-beginning) (region-end)) ...) in `eval-defun' (`C-M-x') would be a nice addition since `eval-region' has no own keybinding.
[Prev in Thread] | Current Thread | [Next in Thread] |