diff options
author | Bill Wohler <wohler@newt.com> | 2006-04-14 18:49:18 +0000 |
---|---|---|
committer | Bill Wohler <wohler@newt.com> | 2006-04-14 18:49:18 +0000 |
commit | 30545916edad04fb361ce02d05818d04f1e951d5 (patch) | |
tree | e9881118f2a3d479b7655ac008fddcacecd5e22a /lisp/mh-e/mh-compat.el | |
parent | 58bd87402ed95e8943f17e1e68fbae96997da2a6 (diff) | |
download | emacs-30545916edad04fb361ce02d05818d04f1e951d5.tar.gz |
* mh-compat.el (mh-font-lock-add-keywords): New alias for
font-lock-add-keywords. Returns nil on XEmacs.
* mh-e.el: Add MH-E function and variable keywords such as
mh-defun-compat and mh-defcustom to font-lock-keywords.
Diffstat (limited to 'lisp/mh-e/mh-compat.el')
-rw-r--r-- | lisp/mh-e/mh-compat.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el index 256a8cfe831..ababe9652ff 100644 --- a/lisp/mh-e/mh-compat.el +++ b/lisp/mh-e/mh-compat.el @@ -40,7 +40,7 @@ ;; versions of Gnus. ;; Items are listed alphabetically (except for mh-require which is -;; needed by a lesser character). +;; needed sooner it would normally appear). (require 'mh-acros) @@ -115,6 +115,11 @@ introduced in Emacs 22." `(face-background ,face ,frame) `(face-background ,face ,frame ,inherit))) +(mh-defun-compat mh-font-lock-add-keywords font-lock-add-keywords + (mode keywords &optional how) + "XEmacs does not have `image-search-load-path'. +This function returns nil on that system.") + (mh-defun-compat mh-image-load-path-for-library image-load-path-for-library (library image &optional path no-error) "Return a suitable search path for images used by LIBRARY. |