From: Richard M. Stallman Date: Mon, 7 Jul 1997 19:06:16 +0000 (+0000) Subject: (custom-load-symbol): Don't reload a preloaded file. X-Git-Tag: emacs-20.1~1277 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d3d21843f03e0312fa62c7e401a487df4d3a630a;p=emacs.git (custom-load-symbol): Don't reload a preloaded file. --- diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index a696c471e8f..fd458300ca6 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -1582,6 +1582,7 @@ and `face'." (require load) (error nil))) ;; Don't reload a file already loaded. + ((member load preloaded-file-list)) ((assoc load load-history)) ((assoc (locate-library load) load-history)) (t