aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-03-14 16:15:49 +0000
committerDan Nicolaescu2008-03-14 16:15:49 +0000
commitef49d20fe8ce0d3381519b736d8167087b7ae57e (patch)
treea5c93290eefce919ffff8905f304ec428f26da30
parentac51b1513dbb3c11db5e0dff4d48c4fd20d2801f (diff)
downloademacs-ef49d20fe8ce0d3381519b736d8167087b7ae57e.tar.gz
emacs-ef49d20fe8ce0d3381519b736d8167087b7ae57e.zip
* font-lock.el (featurep): Remove test, not useful anymore.
(facemenu-keymap): Move key binding ... * facemenu.el (facemenu-keymap): ... here.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/facemenu.el1
-rw-r--r--lisp/font-lock.el4
3 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eee071781ae..263a0e4407a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12008-03-14 Dan Nicolaescu <dann@ics.uci.edu> 12008-03-14 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * font-lock.el (featurep): Remove test, not useful anymore.
4 (facemenu-keymap): Move key binding ...
5 * facemenu.el (facemenu-keymap): ... here.
6
3 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log 7 * vc-bzr.el (vc-bzr-print-log): Insert a file marker. Run the log
4 for each file in the list. 8 for each file in the list.
5 (vc-bzr-log-view-mode): Recognize the file marker. 9 (vc-bzr-log-view-mode): Recognize the file marker.
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 5e95bfd26e7..63ad704c8c4 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -284,6 +284,7 @@ it will remove any faces not explicitly in the list."
284(defvar facemenu-keymap 284(defvar facemenu-keymap
285 (let ((map (make-sparse-keymap "Set face"))) 285 (let ((map (make-sparse-keymap "Set face")))
286 (define-key map "o" (cons (purecopy "Other...") 'facemenu-set-face)) 286 (define-key map "o" (cons (purecopy "Other...") 'facemenu-set-face))
287 (define-key map "\M-o" 'font-lock-fontify-block)
287 map) 288 map)
288 "Keymap for face-changing commands. 289 "Keymap for face-changing commands.
289`Facemenu-update' fills in the keymap according to the bindings 290`Facemenu-update' fills in the keymap according to the bindings
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 244b1df4347..2ac85876308 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -1281,10 +1281,6 @@ delimit the region to fontify."
1281 (font-lock-fontify-region (point) (mark))) 1281 (font-lock-fontify-region (point) (mark)))
1282 ((error quit) (message "Fontifying block...%s" error-data))))))) 1282 ((error quit) (message "Fontifying block...%s" error-data)))))))
1283 1283
1284(unless (featurep 'facemenu)
1285 (error "facemenu must be loaded before font-lock"))
1286(define-key facemenu-keymap "\M-o" 'font-lock-fontify-block)
1287
1288;;; End of Fontification functions. 1284;;; End of Fontification functions.
1289 1285
1290;;; Additional text property functions. 1286;;; Additional text property functions.