Commit fbc88440 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(what-page): Don't move to beginning of line.

See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
parent 60308853
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.
......
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment