From: Reiner Steib Date: Tue, 14 Mar 2006 14:46:32 +0000 (+0000) Subject: (gmm-image-load-path-for-library): Fix typo. Use X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=c9107492c745b4713d5b4980d504858a7a22f70c (gmm-image-load-path-for-library): Fix typo. Use `defun' instead of `gmm-defun-compat'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f51d8706a..0adf68fca 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-03-14 Reiner Steib + + * gmm-utils.el (gmm-image-load-path-for-library): Fix typo. Use + `defun' instead of `gmm-defun-compat'. + 2006-03-14 Simon Josefsson * message.el (message-unique-id): Don't use message-number-base36 diff --git a/lisp/gmm-utils.el b/lisp/gmm-utils.el index 4395628e4..4fe373697 100644 --- a/lisp/gmm-utils.el +++ b/lisp/gmm-utils.el @@ -298,8 +298,10 @@ This function returns nil on those systems." ;; From MH-E with modifications: -(gmm-defun-compat gmm-image-load-path-for-library - image-load-path-for-library (library image &optional path no-error) +;; Don't use `gmm-defun-compat' until API changes in +;; `image-load-path-for-library' in Emacs CVS are completed. + +(defun gmm-image-load-path-for-library (library image &optional path no-error) "Return a suitable search path for images relative to LIBRARY. Images for LIBRARY are searched for in \"../../etc/images\" and @@ -312,7 +314,7 @@ path to IMAGE. If PATH is given, it is used instead of instead of a path. If NO-ERROR is non-nil, don't signal an error if no suitable path -for can be found. +can be found. Here is an example that uses a common idiom to provide compatibility with versions of Emacs that lack the variable