changeset 110496:2c341056a7ec

Tiny comint.el change. * lisp/comint.el (comint-use-prompt-regexp-instead-of-fields): Move alias before definition, so it does not need autoloading.
author Glenn Morris <rgm@gnu.org>
date Thu, 23 Sep 2010 00:09:24 -0700
parents 367ffd53c0bd
children f7314f69b999
files lisp/ChangeLog lisp/comint.el
diffstat 2 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Sep 22 23:48:13 2010 -0700
+++ b/lisp/ChangeLog	Thu Sep 23 00:09:24 2010 -0700
@@ -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:
--- a/lisp/comint.el	Wed Sep 22 23:48:13 2010 -0700
+++ b/lisp/comint.el	Thu Sep 23 00:09:24 2010 -0700
@@ -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 @@
   :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 @@
   :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."