aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-09-24 20:31:24 +0800
committerChong Yidong2012-09-24 20:31:24 +0800
commit0c765e5f5776e09edc43e39d871a263083bf9ed1 (patch)
treedfd00857d5f7d535b7b5971c2c7291c9472021ad
parenta5f2b6ec3b678103c81e14375dd1a8d4bda268d8 (diff)
downloademacs-0c765e5f5776e09edc43e39d871a263083bf9ed1.tar.gz
emacs-0c765e5f5776e09edc43e39d871a263083bf9ed1.zip
Fix two references to deleted obsolete variables.
Also, fix the copyright header for lisp/emacs-lisp/gv.el. * lisp/vc/log-edit.el (log-edit-require-final-newline) (log-edit-changelog-full-paragraphs): Default to t.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/gv.el11
-rw-r--r--lisp/vc/log-edit.el5
3 files changed, 11 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7d886bd144a..61bf7c7fe2c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -10,6 +10,8 @@
10 10
11 * vc/log-edit.el (cvs-changelog-full-paragraphs) 11 * vc/log-edit.el (cvs-changelog-full-paragraphs)
12 (cvs-commit-buffer-require-final-newline): Remove. 12 (cvs-commit-buffer-require-final-newline): Remove.
13 (log-edit-require-final-newline)
14 (log-edit-changelog-full-paragraphs): Default to t.
13 15
14 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks) 16 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
15 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates) 17 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el
index 4caa0a73866..3541c99f5fe 100644
--- a/lisp/emacs-lisp/gv.el
+++ b/lisp/emacs-lisp/gv.el
@@ -1,22 +1,25 @@
1;;; gv.el --- Generalized variables -*- lexical-binding: t -*- 1;;; gv.el --- generalized variables -*- lexical-binding: t -*-
2 2
3;; Copyright (C) 2012 Free Software Foundation, Inc. 3;; Copyright (C) 2012 Free Software Foundation, Inc.
4 4
5;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 5;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
6;; Keywords: extensions 6;; Keywords: extensions
7;; Package: emacs
7 8
8;; This program is free software; you can redistribute it and/or modify 9;; This file is part of GNU Emacs.
10
11;; GNU Emacs is free software: you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation, either version 3 of the License, or 13;; the Free Software Foundation, either version 3 of the License, or
11;; (at your option) any later version. 14;; (at your option) any later version.
12 15
13;; This program is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
14;; but WITHOUT ANY WARRANTY; without even the implied warranty of 17;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;; GNU General Public License for more details. 19;; GNU General Public License for more details.
17 20
18;; You should have received a copy of the GNU General Public License 21;; You should have received a copy of the GNU General Public License
19;; along with this program. If not, see <http://www.gnu.org/licenses/>. 22;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20 23
21;;; Commentary: 24;;; Commentary:
22 25
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index 3b4eb4dae02..2fc2e0ce46d 100644
--- a/lisp/vc/log-edit.el
+++ b/lisp/vc/log-edit.el
@@ -104,8 +104,7 @@ If 'changed, only request confirmation if the list of files has
104 :group 'log-edit 104 :group 'log-edit
105 :type 'boolean) 105 :type 'boolean)
106 106
107(defcustom log-edit-require-final-newline 107(defcustom log-edit-require-final-newline t
108 cvs-commit-buffer-require-final-newline
109 "Enforce a newline at the end of commit log messages. 108 "Enforce a newline at the end of commit log messages.
110Enforce it silently if t, query if non-nil and don't do anything if nil." 109Enforce it silently if t, query if non-nil and don't do anything if nil."
111 :group 'log-edit 110 :group 'log-edit
@@ -149,7 +148,7 @@ can be obtained from `log-edit-files'."
149 :group 'log-edit 148 :group 'log-edit
150 :version "24.1") 149 :version "24.1")
151 150
152(defvar log-edit-changelog-full-paragraphs cvs-changelog-full-paragraphs 151(defvar log-edit-changelog-full-paragraphs t
153 "If non-nil, include full ChangeLog paragraphs in the log. 152 "If non-nil, include full ChangeLog paragraphs in the log.
154This may be set in the ``local variables'' section of a ChangeLog, to 153This may be set in the ``local variables'' section of a ChangeLog, to
155indicate the policy for that ChangeLog. 154indicate the policy for that ChangeLog.