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
b52efb9f
Commit
b52efb9f
authored
May 10, 2007
by
Michaël Cadilhac
Browse files
(Man-next-section): Don't consider the last line of the page as being
part of any section.
parent
ed9bc8a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/man.el
lisp/man.el
+3
-1
No files found.
lisp/ChangeLog
View file @
b52efb9f
2007-05-10 Micha,Ak(Bl Cadilhac <michael@cadilhac.name>
* man.el (Man-next-section): Don't consider the last line of the page
as being part of any section.
2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
lisp/man.el
View file @
b52efb9f
...
...
@@ -1296,7 +1296,9 @@ The following key bindings are currently in effect in the buffer:
(
forward-line
1
))
(
if
(
re-search-forward
Man-heading-regexp
(
point-max
)
t
n
)
(
beginning-of-line
)
(
goto-char
(
point-max
)))))
(
goto-char
(
point-max
))
;; The last line doesn't belong to any section.
(
forward-line
-1
))))
(
defun
Man-previous-section
(
n
)
"Move point to Nth previous section (default 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