Mercurial > emacs
view lispref/front-cover-1.texi @ 18016:22cbed2e6098
(hs-special-modes-alist): Include also the
comment regexp in the alist. This is needed for modes like c++
where the comment beginning regexp is not easy to determine
from the syntax table.
Include ADJUST-BLOCK-BEGINNING in the alist.
(hs-hide-comments-when-hiding-all): Add autoload cookie.
(hs-show-hidden-short-form):
(hs-adjust-block-beginning): New variables.
Comment out `hs-menu-bar' as XEmacs support was removed.
(hs-c-end-regexp): Remove variable, obsoleted by the rewrite of
`hs-inside-comment-p'.
(hs-discard-overlays): No need to test if we are inside the
overlay, we surely are since we got the overlay using `overlays-at'.
(hs-hide-block-at-point): Rewritten to use the new variables.
Use only one parameter to specify the comment.
(hs-show-block-at-point): No need for the COMMENT-REG parameter.
(hs-safety-is-job-n): Correct typo.
(hs-hide-initial-comment-block): Add ^L to the chars to skip.
Take into account `hs-show-hidden-short-form' when testing.
(hs-inside-single-line-comment-p): Function deleted, obsoleted by
the rewrite of `hs-inside-comment-p'.
(hs-inside-comment-p): Rewritten from scratch. Semantics changed
when returning non-nil. We can be inside a comment, but that
comment might not be hidable (the car of the return value should
be non-nil to be hidable).
(hs-grok-mode-type): Rewrite to be more understandable.
`hs-c-end-regexp' does not exist any more.
Initialize `hs-c-start-regexp' from the alist if specified there.
Initialize `hs-adjust-block-beginning'.
(hs-find-block-beginning): Rewritten to be able to deal with the
situation when a block beginning spans multiple lines and the
point is on one of those lines.
(hs-already-hidden-p): Look first if we are inside a comment or a
block, go to their end and look there for the overlays.
(java-hs-adjust-block-beginning): New function.
(hs-hide-all): Hide a comment block only if `hs-inside-comment-p'
says is hidable.
(hs-hide-block): Simplify.
Handle properly the result of `hs-inside-comment-p'.
(hs-show-block): Likewise.
(hs-minor-mode): Doc string fixes.
Make `hs-adjust-block-beginning' buffer local.
Delete making `hs-c-end-regexp' buffer local as it was deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 May 1997 05:23:39 +0000 |
parents | 2d4db32cccd5 |
children | ef5e7bbe6f19 |
line wrap: on
line source
\input texinfo @c -*-texinfo-*- @comment %**start of header @setfilename front1.info @settitle GNU Emacs Lisp Reference Manual @smallbook @comment %**end of header @titlepage . @sp 2 @center @titlefont{The} @sp 1 @center @titlefont{GNU} @sp 1 @center @titlefont{Emacs Lisp} @sp 1 @center @titlefont{Reference} @sp 1 @center @titlefont{Manual} @sp 2 @center GNU Emacs Version 19 @center for Unix Users @center Edition 2.3, June 1994 @sp 2 @center @titlefont{Volume 1} @sp 2 @center by Bil Lewis, Dan LaLiberte, @center and the GNU Manual Group @page . @sp 5 @center @titlefont{The} @sp 1 @center @titlefont{GNU} @sp 1 @center @titlefont{Emacs Lisp} @sp 1 @center @titlefont{Reference} @sp 1 @center @titlefont{Manual} @sp 2 @center GNU Emacs Version 19 @center for Unix Users @center Edition 2.3, June 1994 @sp 2 @center @titlefont{Volume 2} @sp 2 @center by Bil Lewis, Dan LaLiberte, @center and the GNU Manual Group @end titlepage @bye