emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/simple.el,v


From: Karl Fogel
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el,v
Date: Thu, 08 Feb 2007 20:52:41 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Karl Fogel <kfogel>     07/02/08 20:52:39

Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.844
retrieving revision 1.845
diff -u -b -r1.844 -r1.845
--- simple.el   8 Feb 2007 06:31:28 -0000       1.844
+++ simple.el   8 Feb 2007 20:52:39 -0000       1.845
@@ -382,19 +382,13 @@
 
 ;;;
 
-(defcustom fundamental-mode-hook nil
-  "Normal hook run for buffers not specialized for anything in particular."
-  :type 'hook
-  ;; No group is a perfect fit, but this is probably the closest.
-  :group 'editing-basics)
-
 (defun fundamental-mode ()
   "Major mode not specialized for anything in particular.
-Other major modes are defined by comparison with this one.
-Entry to this mode runs the normal hook `fundamental-mode-hook'."
+Other major modes are defined by comparison with this one."
   (interactive)
   (kill-all-local-variables)
-  (run-mode-hooks 'fundamental-mode-hook))
+  (unless delay-mode-hooks
+    (run-hooks 'after-change-major-mode-hook)))
 
 ;; Making and deleting lines.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]