HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846e22f
)
Throw error if facemenu is not loaded to prevent accidental change of
author
Luc Teirlinck
<teirllm@auburn.edu>
Tue, 29 Nov 2005 05:03:21 +0000
(
05:03
+0000)
committer
Luc Teirlinck
<teirllm@auburn.edu>
Tue, 29 Nov 2005 05:03:21 +0000
(
05:03
+0000)
loading order in loadup.el. (Suggested by RMS.)
lisp/font-lock.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/font-lock.el
b/lisp/font-lock.el
index
b3a4a80
..
e14ee81
100644
(file)
--- a/
lisp/font-lock.el
+++ b/
lisp/font-lock.el
@@
-1123,8
+1123,9
@@
delimit the region to fontify."
(font-lock-fontify-region (point) (mark)))
((error quit) (message "Fontifying block...%s" error-data)))))))
-(if (boundp 'facemenu-keymap)
- (define-key facemenu-keymap "\M-o" 'font-lock-fontify-block))
+(unless (featurep 'facemenu)
+ (error "facemenu must be loaded before font-lock"))
+(define-key facemenu-keymap "\M-o" 'font-lock-fontify-block)
;;; End of Fontification functions.
\f