GNU bug report logs - #10906
24.0.94; `c-mark-function' does set the mark well

Previous Next

Packages: cc-mode, emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 28 Feb 2012 12:41:01 UTC

Severity: normal

Found in version 24.0.94

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: Juri Linkov <juri <at> jurta.org>, 10906 <at> debbugs.gnu.org
Subject: bug#10906: 24.0.94; `c-mark-function' does set the mark well
Date: Wed, 7 Mar 2012 22:37:10 +0100
> Here's a revised patch.  I think it'll work this time.

It works, thank you.

BTW, I have a question (I've still a beginner on elisp): What's the
point of the "or" form here?

> +             (or (and (eq this-command 'c-mark-function)
> +                      (eq last-command 'c-mark-function))))


It has a single argument, so that it would be equivalent to get rid of
it, like this:

> +             (and (eq this-command 'c-mark-function)
> +                      (eq last-command 'c-mark-function)))

??

-- 
Dani Moncayo




This bug report was last modified 13 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.