|
From: | Stefan Monnier |
Subject: | bug#6100: c-beginning-of-defun doesn't push mark |
Date: | Wed, 05 May 2010 09:16:25 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> There is one annoying difference between `beginning-of-defun' > and `c-beginning-of-defun': > `beginning-of-defun' and `end-of-defun' pushes the mark for the > old point location to the mark ring with this code: > (or (not (eq this-command 'beginning-of-defun)) > (eq last-command 'beginning-of-defun) > (and transient-mark-mode mark-active) > (push-mark)) > but `c-beginning-of-defun' doesn't do that. > This patch add the same code to `c-beginning-of-defun' and `c-end-of-defun': Of course, I'd argue that the right fix is to use `beginning-of-defun'. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |