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
ae34cba1
Commit
ae34cba1
authored
Nov 24, 2005
by
Chong Yidong
Browse files
Fix two omissions in last change.
parent
963b2040
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/hi-lock.el
lisp/hi-lock.el
+3
-3
No files found.
lisp/hi-lock.el
View file @
ae34cba1
...
...
@@ -297,7 +297,7 @@ is found. A mode is excluded if it's in the list `hi-lock-exclude-modes'."
(
when
hi-lock-file-patterns
(
font-lock-remove-keywords
nil
hi-lock-file-patterns
)
(
setq
hi-lock-file-patterns
nil
))
(
if
font-lock-mode
(
hi-lock-refontify
)
)
(
hi-lock-refontify
)
(
define-key-after
menu-bar-edit-menu
[hi-lock]
nil
)
(
remove-hook
'font-lock-mode-hook
'hi-lock-font-lock-hook
t
)))
...
...
@@ -516,8 +516,8 @@ not suitable."
(
defun
hi-lock-refontify
()
"Unfontify then refontify buffer. Used when hi-lock patterns change."
(
interactive
)
(
unless
font-lock-mode
(
font-lock-mode
1
))
(
font-lock-fontify-buffer
))
(
if
font-lock-mode
(
font-lock-fontify-buffer
))
)
(
defun
hi-lock-find-patterns
()
"Find patterns in current buffer for hi-lock."
...
...
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