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
fbc88440
Commit
fbc88440
authored
Sep 15, 2009
by
Stefan Monnier
Browse files
(what-page): Don't move to beginning of line.
See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
parent
60308853
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/textmodes/page.el
lisp/textmodes/page.el
+1
-2
No files found.
lisp/ChangeLog
View file @
fbc88440
2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/page.el (what-page): Don't move to beginning of line.
See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
* vc-git.el (vc-git-dir-extra-headers): Show the remote location.
...
...
lisp/textmodes/page.el
View file @
fbc88440
...
...
@@ -149,10 +149,9 @@ thus showing a page other than the one point was originally in."
(
save-restriction
(
widen
)
(
save-excursion
(
beginning-of-line
)
(
let
((
count
1
)
(
opoint
(
point
)))
(
goto-char
1
)
(
goto-char
(
point-min
)
)
(
while
(
re-search-forward
page-delimiter
opoint
t
)
(
setq
count
(
1+
count
)))
(
message
"Page %d, line %d"
...
...
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