From 3a79600aa78d4d148c4c6b6a0a7a5ce625c582dc Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Wed, 25 Dec 2013 10:18:43 +0800 Subject: [PATCH] Doc fixes (index and comment). --- admin/admin.el | 3 +++ doc/emacs/ChangeLog | 4 ++++ doc/emacs/files.texi | 1 + 3 files changed, 8 insertions(+) diff --git a/admin/admin.el b/admin/admin.el index baf18992953..5e5e57cb3ce 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -75,6 +75,9 @@ Root must be the root of an Emacs source tree." (interactive "DEmacs root directory: \nsVersion number: ") (unless (file-exists-p (expand-file-name "src/emacs.c" root)) (user-error "%s doesn't seem to be the root of an Emacs source tree" root)) + ;; There's also a "version 3" (standing for GPLv3) at the end of + ;; `README', but since `set-version-in-file' only replaces the first + ;; occurence, it won't be replaced. (set-version-in-file root "README" version (rx (and "version" (1+ space) (submatch (1+ (in "0-9.")))))) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 00a6c6a29a1..9b6868857e8 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2013-12-25 Xue Fuqiao + + * files.texi (Diff Mode): Add an index. + 2013-12-24 Xue Fuqiao * trouble.texi (Understanding Bug Reporting): Minor update. diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index c28a30bf823..5564f9a23f3 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -1419,6 +1419,7 @@ In a multi-file patch, kill the current file part. @item C-c C-a @findex diff-apply-hunk +@cindex patches, applying Apply this hunk to its target file (@code{diff-apply-hunk}). With a prefix argument of @kbd{C-u}, revert this hunk. -- 2.11.4.GIT