Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!gandalf.cs.cmu.edu!ntanaka From: ntanaka@gandalf.cs.cmu.edu (Nobuyoshi Tanaka) Newsgroups: gnu.emacs Subject: How to change an autoloaded function ??? Keywords: autoload, gnu-emacs, mh-e Message-ID: <3681@pt.cs.cmu.edu> Date: 25 Nov 88 01:03:43 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 21 Now, I wonder how I can change an autoloaded function. Here is my case. I would like to change one of the mh-e functions to my favorite one. The function is used in other mh-e functions. I don't want to the whole mh-e.el in my personal directories. Even if I define the function in my .emacs file, it will be overwritten when mh-e library is loaded. [Right?] Now I define mh-folder-mode-hook to load my own mh-e functions, but this solution seems ugly. I re-defined load-library so that it call a function bound to load-library-hook after loading the library. However, it seems that load-library is never called when an autoloaded library is loaded. Could anyone around there enlighten me? Please post or e-mail to me. Thanks in advance. -- DISCLAIMER: This is my personal opinion, none of NEC nor CMU. = Nobuyoshi Tanaka Internet: ntanaka@cs.cmu.edu = = NEC Corporation Voice: +1 (412) 268-7673 = = (currently at CMU) CMU-ROSE :-) = --