# HG changeset patch # User Glenn Morris # Date 1285225764 25200 # Node ID 2c341056a7ec5a796bba9a70bc923cc67556657a # Parent 367ffd53c0bd2b29ef5f8426878b8cf4a84770fb Tiny comint.el change. * lisp/comint.el (comint-use-prompt-regexp-instead-of-fields): Move alias before definition, so it does not need autoloading. diff -r 367ffd53c0bd -r 2c341056a7ec lisp/ChangeLog --- 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 + * 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: diff -r 367ffd53c0bd -r 2c341056a7ec lisp/comint.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 ;; Simon Marshall @@ -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."