summaryrefslogtreecommitdiff
path: root/lisp/progmodes/f90.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-10-06 02:49:02 +0000
committerGlenn Morris <rgm@gnu.org>2009-10-06 02:49:02 +0000
commit7938ab41f519585bb9c0ebd36673a1c464da723a (patch)
tree9eef5596948bb7fa9045909d4a8a520882bc18b6 /lisp/progmodes/f90.el
parentd47afbc0b0e45845fff95d52af8668b4e18f5473 (diff)
downloademacs-7938ab41f519585bb9c0ebd36673a1c464da723a.tar.gz
(f90-end-of-block, f90-beginning-of-block):
Also push mark in the macro case.
Diffstat (limited to 'lisp/progmodes/f90.el')
-rw-r--r--lisp/progmodes/f90.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index 49f908c99f9..3a0fe1dfad7 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -1544,8 +1544,8 @@ for consistency of block types and labels (if present), and
completes outermost block if `f90-smart-end' is non-nil.
Interactively, pushes mark before moving point."
(interactive "p")
- (if (called-interactively-p 'interactive)
- (push-mark (point) t)) ; can move some distance
+ ;; Can move some distance.
+ (if (called-interactively-p 'any) (push-mark (point) t))
(and num (< num 0) (f90-beginning-of-block (- num)))
(let ((f90-smart-end (if f90-smart-end 'no-blink)) ; for final match-end
(case-fold-search t)
@@ -1601,7 +1601,7 @@ Checks for consistency of block types and labels (if present).
Does not check the outermost block, because it may be incomplete.
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) (f90-end-of-block (- num)))
(let ((case-fold-search t)
(count (or num 1))