mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Remove vc-header-alist, obsolete since 21.1.
* lisp/vc/vc-hooks.el (vc-header-alist): Remove obsolete variable. * lisp/vc/vc.el (vc-static-header-alist): Doc fix. * lisp/vc/vc-cvs.el (vc-cvs-header): * lisp/vc/vc-rcs.el (vc-rcs-header): * lisp/vc/vc-sccs.el (vc-sccs-header): * lisp/vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist. * lisp/obsolete/vc-mcvs.el (vc-mcvs-header): * lisp/progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist on XEmacs. * etc/NEWS: Mention above change.
This commit is contained in:
parent
d99a45914d
commit
67141a37c1
2
etc/NEWS
2
etc/NEWS
@ -559,7 +559,7 @@ make-local-hook
|
|||||||
|
|
||||||
** The following variables and aliases, obsolete since at least Emacs 21.1,
|
** The following variables and aliases, obsolete since at least Emacs 21.1,
|
||||||
have been removed:
|
have been removed:
|
||||||
checkdoc-minor-keymap
|
checkdoc-minor-keymap, vc-header-alist
|
||||||
|
|
||||||
|
|
||||||
* Lisp changes in Emacs 24.1
|
* Lisp changes in Emacs 24.1
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
2010-10-03 Glenn Morris <rgm@gnu.org>
|
||||||
|
|
||||||
|
* vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
|
||||||
|
* vc/vc.el (vc-static-header-alist): Doc fix.
|
||||||
|
* vc/vc-cvs.el (vc-cvs-header):
|
||||||
|
* vc/vc-rcs.el (vc-rcs-header):
|
||||||
|
* vc/vc-sccs.el (vc-sccs-header):
|
||||||
|
* vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
|
||||||
|
* obsolete/vc-mcvs.el (vc-mcvs-header):
|
||||||
|
* progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
|
||||||
|
on XEmacs.
|
||||||
|
|
||||||
2010-10-03 Chong Yidong <cyd@stupidchicken.com>
|
2010-10-03 Chong Yidong <cyd@stupidchicken.com>
|
||||||
|
|
||||||
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
|
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
|
||||||
|
@ -102,10 +102,9 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
|
|||||||
:version "22.1"
|
:version "22.1"
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
(defcustom vc-mcvs-header (or (cdr (assoc 'MCVS vc-header-alist))
|
(defcustom vc-mcvs-header vc-cvs-header
|
||||||
vc-cvs-header)
|
|
||||||
"Header keywords to be inserted by `vc-insert-headers'."
|
"Header keywords to be inserted by `vc-insert-headers'."
|
||||||
:version "22.1"
|
:version "24.1" ; no longer consult the obsolete vc-header-alist
|
||||||
:type '(repeat string)
|
:type '(repeat string)
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
;;; cperl-mode.el --- Perl code editing commands for Emacs
|
;;; cperl-mode.el --- Perl code editing commands for Emacs
|
||||||
|
|
||||||
;; Copyright (C) 1985, 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
;; Copyright (C) 1985, 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
;; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
;; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
;; Free Software Foundation, Inc.
|
;; 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;; Author: Ilya Zakharevich
|
;; Author: Ilya Zakharevich
|
||||||
;; Bob Olson
|
;; Bob Olson
|
||||||
@ -1802,13 +1802,12 @@ or as help on variables `cperl-tips', `cperl-problems',
|
|||||||
(set 'vc-rcs-header cperl-vc-rcs-header)
|
(set 'vc-rcs-header cperl-vc-rcs-header)
|
||||||
(make-local-variable 'vc-sccs-header)
|
(make-local-variable 'vc-sccs-header)
|
||||||
(set 'vc-sccs-header cperl-vc-sccs-header)
|
(set 'vc-sccs-header cperl-vc-sccs-header)
|
||||||
;; This one is obsolete...
|
(when (featurep 'xemacs)
|
||||||
(make-local-variable 'vc-header-alist)
|
;; This one is obsolete...
|
||||||
(with-no-warnings
|
(make-local-variable 'vc-header-alist)
|
||||||
(set 'vc-header-alist (or cperl-vc-header-alist ; Avoid warning
|
(set 'vc-header-alist (or cperl-vc-header-alist ; Avoid warning
|
||||||
`((SCCS ,(car cperl-vc-sccs-header))
|
`((SCCS ,(car cperl-vc-sccs-header))
|
||||||
(RCS ,(car cperl-vc-rcs-header)))))
|
(RCS ,(car cperl-vc-rcs-header))))))
|
||||||
)
|
|
||||||
(cond ((boundp 'compilation-error-regexp-alist-alist);; xemacs 20.x
|
(cond ((boundp 'compilation-error-regexp-alist-alist);; xemacs 20.x
|
||||||
(make-local-variable 'compilation-error-regexp-alist-alist)
|
(make-local-variable 'compilation-error-regexp-alist-alist)
|
||||||
(set 'compilation-error-regexp-alist-alist
|
(set 'compilation-error-regexp-alist-alist
|
||||||
|
@ -92,9 +92,9 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
|
|||||||
:version "21.1"
|
:version "21.1"
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
(defcustom vc-cvs-header (or (cdr (assoc 'CVS vc-header-alist)) '("\$Id\$"))
|
(defcustom vc-cvs-header '("\$Id\$")
|
||||||
"Header keywords to be inserted by `vc-insert-headers'."
|
"Header keywords to be inserted by `vc-insert-headers'."
|
||||||
:version "21.1"
|
:version "24.1" ; no longer consult the obsolete vc-header-alist
|
||||||
:type '(repeat string)
|
:type '(repeat string)
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
|
@ -49,9 +49,6 @@ vc-BACKEND-master-templates. To enable or disable VC for a given
|
|||||||
BACKEND, use `vc-handled-backends'."
|
BACKEND, use `vc-handled-backends'."
|
||||||
"21.1")
|
"21.1")
|
||||||
|
|
||||||
(defvar vc-header-alist ())
|
|
||||||
(make-obsolete-variable 'vc-header-alist 'vc-BACKEND-header "21.1")
|
|
||||||
|
|
||||||
(defcustom vc-ignore-dir-regexp
|
(defcustom vc-ignore-dir-regexp
|
||||||
;; Stop SMB, automounter, AFS, and DFS host lookups.
|
;; Stop SMB, automounter, AFS, and DFS host lookups.
|
||||||
locate-dominating-stop-dir-regexp
|
locate-dominating-stop-dir-regexp
|
||||||
|
@ -77,10 +77,10 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
|
|||||||
:version "21.1"
|
:version "21.1"
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
(defcustom vc-rcs-header (or (cdr (assoc 'RCS vc-header-alist)) '("\$Id\$"))
|
(defcustom vc-rcs-header '("\$Id\$")
|
||||||
"Header keywords to be inserted by `vc-insert-headers'."
|
"Header keywords to be inserted by `vc-insert-headers'."
|
||||||
:type '(repeat string)
|
:type '(repeat string)
|
||||||
:version "21.1"
|
:version "24.1" ; no longer consult the obsolete vc-header-alist
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
(defcustom vc-rcsdiff-knows-brief nil
|
(defcustom vc-rcsdiff-knows-brief nil
|
||||||
|
@ -71,9 +71,10 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
|
|||||||
:version "21.1"
|
:version "21.1"
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
(defcustom vc-sccs-header (or (cdr (assoc 'SCCS vc-header-alist)) '("%W%"))
|
(defcustom vc-sccs-header '("%W%")
|
||||||
"Header keywords to be inserted by `vc-insert-headers'."
|
"Header keywords to be inserted by `vc-insert-headers'."
|
||||||
:type '(repeat string)
|
:type '(repeat string)
|
||||||
|
:version "24.1" ; no longer consult the obsolete vc-header-alist
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
@ -84,9 +84,9 @@ want to force an empty list of arguments, use t."
|
|||||||
:version "22.1"
|
:version "22.1"
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
(defcustom vc-svn-header (or (cdr (assoc 'SVN vc-header-alist)) '("\$Id\$"))
|
(defcustom vc-svn-header '("\$Id\$")
|
||||||
"Header keywords to be inserted by `vc-insert-headers'."
|
"Header keywords to be inserted by `vc-insert-headers'."
|
||||||
:version "22.1"
|
:version "24.1" ; no longer consult the obsolete vc-header-alist
|
||||||
:type '(repeat string)
|
:type '(repeat string)
|
||||||
:group 'vc)
|
:group 'vc)
|
||||||
|
|
||||||
|
@ -770,7 +770,7 @@ See `run-hooks'."
|
|||||||
"\n#ifndef lint\nstatic char vcid[] = \"\%s\";\n#endif /* lint */\n"))
|
"\n#ifndef lint\nstatic char vcid[] = \"\%s\";\n#endif /* lint */\n"))
|
||||||
"Associate static header string templates with file types.
|
"Associate static header string templates with file types.
|
||||||
A \%s in the template is replaced with the first string associated with
|
A \%s in the template is replaced with the first string associated with
|
||||||
the file's version control type in `vc-header-alist'."
|
the file's version control type in `vc-BACKEND-header'."
|
||||||
:type '(repeat (cons :format "%v"
|
:type '(repeat (cons :format "%v"
|
||||||
(regexp :tag "File Type")
|
(regexp :tag "File Type")
|
||||||
(string :tag "Header String")))
|
(string :tag "Header String")))
|
||||||
|
Loading…
Reference in New Issue
Block a user