]> git.eshelyaron.com Git - emacs.git/commitdiff
(fortran-end-of-block, fortran-beginning-of-block):
authorGlenn Morris <rgm@gnu.org>
Tue, 6 Oct 2009 02:48:44 +0000 (02:48 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 6 Oct 2009 02:48:44 +0000 (02:48 +0000)
Also push mark in the macro case.

lisp/progmodes/fortran.el

index 02346c14967ed78cf8d8fda79a4c51b9dfcab2ca..efdfa5597203da8e600e520b19bfc49f66b5d2b4 100644 (file)
@@ -1295,7 +1295,7 @@ If NUM is negative, go backward to the start of a block.  Does
 not check for consistency of block types.  Interactively, pushes
 mark before moving point."
   (interactive "p")
-  (if (called-interactively-p 'interactive) (push-mark (point) t))
+  (if (called-interactively-p 'any) (push-mark (point) t))
   (and num (< num 0) (fortran-beginning-of-block (- num)))
   (let ((case-fold-search t)
         (count (or num 1)))
@@ -1328,7 +1328,7 @@ blocks.  If NUM is negative, go forward to the end of a block.
 Does not check for consistency of block types.  Interactively,
 pushes mark before moving point."
   (interactive "p")
-  (if (called-interactively-p 'interactive) (push-mark (point) t))
+  (if (called-interactively-p 'any) (push-mark (point) t))
   (and num (< num 0) (fortran-end-of-block (- num)))
   (let ((case-fold-search t)
         (count (or num 1)))