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
0aeb3666
Commit
0aeb3666
authored
Feb 10, 2009
by
Glenn Morris
Browse files
Avoid messing up font-lock-global-modes.
parent
a35462a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/speedbar.el
lisp/speedbar.el
+8
-5
No files found.
lisp/ChangeLog
View file @
0aeb3666
2009-02-10 Glenn Morris <rgm@gnu.org>
* speedbar.el: Avoid messing up font-lock-global-modes.
* mail/mail-utils.el (mail-use-rfc822): Remove * from defcustom doc.
(mail-file-babyl-p): Use with-temp-buffer.
...
...
lisp/speedbar.el
View file @
0aeb3666
...
...
@@ -4122,11 +4122,14 @@ TEXT is the buffer's name, TOKEN and INDENT are unused."
(
def-edebug-spec
speedbar-with-writable
def-body
)))
;; Fix a font lock problem for some versions of Emacs
(
if
(
boundp
'font-lock-global-modes
)
(
if
(
listp
font-lock-global-modes
)
(
add-to-list
'font-lock-global-modes
'
(
not
speedbar-mode
))
)
)
(
and
(
boundp
'font-lock-global-modes
)
font-lock-global-modes
(
if
(
eq
font-lock-global-modes
t
)
(
setq
font-lock-global-modes
'
(
not
speedbar-mode
))
(
if
(
eq
(
car
font-lock-global-modes
)
'not
)
(
add-to-list
'font-lock-global-modes
'speedbar-mode
t
))))
;; If f-l-g-m is a non-empty list that doesn't begin with not, there
;; is nothing we can do.
;;; Obsolete variables and functions
...
...
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