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
ac7b4947
Commit
ac7b4947
authored
Sep 11, 2001
by
Gerd Moellmann
Browse files
(outline-mode): Use `^' and a shy group
when constructing imenu-generic-expression from outline-regexp.
parent
1e1e5daf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/textmodes/outline.el
lisp/textmodes/outline.el
+1
-1
No files found.
lisp/textmodes/outline.el
View file @
ac7b4947
...
...
@@ -228,7 +228,7 @@ Turning on outline mode calls the value of `text-mode-hook' and then of
(
set
(
make-local-variable
'font-lock-defaults
)
'
(
outline-font-lock-keywords
t
nil
nil
backward-paragraph
))
(
setq
imenu-generic-expression
(
list
(
list
nil
(
concat
outline-regexp
".*$"
)
0
)))
(
list
(
list
nil
(
concat
"^\\(?:"
outline-regexp
"
\\)
.*$"
)
0
)))
(
add-hook
'change-major-mode-hook
'show-all
nil
t
))
(
defcustom
outline-minor-mode-prefix
"\C-c@"
...
...
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