On Wed, 10 May 2006, james(a)xemacs.org wrote:
Giacomo Boffi <giacomo.boffi(a)polimi.it> wrote:
> thank you Jerry, i put your redefinition in the init file, and then i
> did the mouse gimnastic that i described previously... sorry to say
> that the problem does not go away
I don't think putting the redefinition in your init file is going to
work. Later, when x-font-menu.elc is loaded, it will overwrite the
definition in your init file. Try starting normally, then evaluate the
redefinition in your *scratch* buffer.
eval-after-load can be used for this type of patch in user init files:
(eval-after-load "x-font-menu"
(defun whatever-it-was ...)
)
Since the function is going to be fixed in an new release, type check
around the patch would avoid patching a fixed function, something like:
(when (not (emacs-version>= 21 5 27)) ...)
-jeff