Custom outline-regexp?
Asked by
Boris Kheyfets
I'd like the outline treat things like
# ====
# defs:
as the only tags. For that I've tried:
(add-hook 'python-mode-hook
(lambda ()
(setq outline-regexp "=\\n#")))
This should make C-c @ C-n send me to the next block like
# ======
# options
It doesn't work. What do I do wrong?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Boris Kheyfets
- Solved:
- Last query:
- Last reply:
To post a message you must log in.