Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c61e94b4
Commit
c61e94b4
authored
Mar 27, 2006
by
Carsten Dominik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(org-get-level-face): Fixed bug with level counting.
parent
80d116c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/textmodes/org.el
lisp/textmodes/org.el
+1
-1
No files found.
lisp/textmodes/org.el
View file @
c61e94b4
...
...
@@ -2383,7 +2383,7 @@ between words."
"Get the right face for match N in font-lock matching of healdines."
(setq org-l (- (match-end 2) (match-beginning 1)))
(if org-odd-levels-only (setq org-l (1+ (/ org-l 2))))
(setq org-f (nth (
1- (%
org-l org-n-levels)
)
org-level-faces))
(setq org-f (nth (
% (1-
org-l
)
org-n-levels) org-level-faces))
(cond
((eq n 1) (if org-hide-leading-stars 'org-hide org-f))
((eq n 2) org-f)
...
...
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