changeset 63374:5e00fa8bd828

(ledit-mode): Use delay-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Mon, 13 Jun 2005 12:01:43 +0000
parents f9c3bd9342b7
children d83d568c5952
files lisp/ledit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ledit.el	Mon Jun 13 12:00:59 2005 +0000
+++ b/lisp/ledit.el	Mon Jun 13 12:01:43 2005 +0000
@@ -144,7 +144,7 @@
 To make Lisp mode automatically change to Ledit mode,
 do (setq lisp-mode-hook 'ledit-from-lisp-mode)"
   (interactive)
-  (lisp-mode)
+  (delay-mode-hooks (lisp-mode))
   (ledit-from-lisp-mode))
 
 ;;;###autoload