summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-09-24 20:31:24 +0800
committerChong Yidong <cyd@gnu.org>2012-09-24 20:31:24 +0800
commit0c765e5f5776e09edc43e39d871a263083bf9ed1 (patch)
treedfd00857d5f7d535b7b5971c2c7291c9472021ad
parenta5f2b6ec3b678103c81e14375dd1a8d4bda268d8 (diff)
downloademacs-0c765e5f5776e09edc43e39d871a263083bf9ed1.tar.gz
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 @@
* vc/log-edit.el (cvs-changelog-full-paragraphs)
(cvs-commit-buffer-require-final-newline): Remove.
+ (log-edit-require-final-newline)
+ (log-edit-changelog-full-paragraphs): Default to t.
* vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
* 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 @@
-;;; gv.el --- Generalized variables -*- lexical-binding: t -*-
+;;; gv.el --- generalized variables -*- lexical-binding: t -*-
;; Copyright (C) 2012 Free Software Foundation, Inc.
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
;; Keywords: extensions
+;; Package: emacs
-;; This program is free software; you can redistribute it and/or modify
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
-;; This program is distributed in the hope that it will be useful,
+;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
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
:group 'log-edit
:type 'boolean)
-(defcustom log-edit-require-final-newline
- cvs-commit-buffer-require-final-newline
+(defcustom log-edit-require-final-newline t
"Enforce a newline at the end of commit log messages.
Enforce it silently if t, query if non-nil and don't do anything if nil."
:group 'log-edit
@@ -149,7 +148,7 @@ can be obtained from `log-edit-files'."
:group 'log-edit
:version "24.1")
-(defvar log-edit-changelog-full-paragraphs cvs-changelog-full-paragraphs
+(defvar log-edit-changelog-full-paragraphs t
"If non-nil, include full ChangeLog paragraphs in the log.
This may be set in the ``local variables'' section of a ChangeLog, to
indicate the policy for that ChangeLog.