Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7938ab41
Commit
7938ab41
authored
Oct 06, 2009
by
Glenn Morris
Browse files
(f90-end-of-block, f90-beginning-of-block):
Also push mark in the macro case.
parent
d47afbc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/f90.el
lisp/progmodes/f90.el
+3
-3
No files found.
lisp/ChangeLog
View file @
7938ab41
2009-10-06 Glenn Morris <rgm@gnu.org>
* progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
* progmodes/fortran.el (fortran-end-of-block)
(fortran-beginning-of-block):
Also push mark in the macro case.
* emerge.el (emerge-show-file-name):
* calc/calc.el (calc-quit):
* calc/calc-misc.el (calc-big-or-small):
...
...
lisp/progmodes/f90.el
View file @
7938ab41
...
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment