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
c8aab130
Commit
c8aab130
authored
Nov 27, 2006
by
J.D. Smith
Browse files
(hs-already-hidden-p): Move to end of line so hidden blocks will be
correctly identified.
parent
b8f11c58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/hideshow.el
lisp/progmodes/hideshow.el
+1
-0
No files found.
lisp/ChangeLog
View file @
c8aab130
2006-11-27 J.D. Smith <jdsmith@as.arizona.edu>
* progmodes/hideshow.el (hs-already-hidden-p): Move to end of
line so hidden blocks will be correctly identified.
2006-11-27 Juanma Barranquero <lekktu@gmail.com>
* ledit.el (ledit-save-defun, ledit-mode):
lisp/progmodes/hideshow.el
View file @
c8aab130
...
...
@@ -706,6 +706,7 @@ and `case-fold-search' are both t."
(
if
(
and
c-reg
(
nth
0
c-reg
))
;; point is inside a comment, and that comment is hidable
(
goto-char
(
nth
0
c-reg
))
(
end-of-line
)
(
when
(
and
(
not
c-reg
)
(
hs-find-block-beginning
)
(
looking-at
hs-block-start-regexp
))
...
...
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