Tiny comint.el change.
authorGlenn Morris <rgm@gnu.org>
Thu, 23 Sep 2010 07:09:24 +0000 (00:09 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 23 Sep 2010 07:09:24 +0000 (00:09 -0700)
* lisp/comint.el (comint-use-prompt-regexp-instead-of-fields):
Move alias before definition, so it does not need autoloading.

lisp/ChangeLog
lisp/comint.el

index 1316cc9..7bf7ed5 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-23  Glenn Morris  <rgm@gnu.org>
 
+       * comint.el (comint-use-prompt-regexp-instead-of-fields):
+       Move alias before definition, so it does not need autoloading.
+
        * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
        * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
        * international/kkc.el, international/ogonek.el, mail/feedmail.el:
index 641be4f..282e9ee 100644 (file)
@@ -1,8 +1,8 @@
 ;;; comint.el --- general command interpreter in a window stuff
 
-;; Copyright (C) 1988, 1990, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-;;   Free Software Foundation, Inc.
+;; Copyright (C) 1988, 1990, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
+;;   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+;;   2010  Free Software Foundation, Inc.
 
 ;; Author: Olin Shivers <shivers@cs.cmu.edu>
 ;;     Simon Marshall <simon@gnu.org>
@@ -415,6 +415,9 @@ See `comint-send-input'."
   :type 'boolean
   :group 'comint)
 
+(define-obsolete-variable-alias 'comint-use-prompt-regexp-instead-of-fields
+  'comint-use-prompt-regexp "22.1")
+
 ;; Note: If it is decided to purge comint-prompt-regexp from the source
 ;; entirely, searching for uses of this variable will help to identify
 ;; places that need attention.
@@ -427,11 +430,6 @@ respect field boundaries in a natural way)."
   :type 'boolean
   :group 'comint)
 
-;; Autoload is necessary for Custom to recognize old alias.
-;;;###autoload
-(define-obsolete-variable-alias 'comint-use-prompt-regexp-instead-of-fields
-  'comint-use-prompt-regexp "22.1")
-
 (defcustom comint-mode-hook nil
   "Hook run upon entry to `comint-mode'.
 This is run before the process is cranked up."