Skip to content

Commit 8476cc7

Browse files
author
Yuuki Harano
committed
Merge branch 'master' of https://github.com/emacs-mirror/emacs
2 parents 2ff8204 + 8cdb9d9 commit 8476cc7

File tree

535 files changed

+4737
-4083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

535 files changed

+4737
-4083
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# any particular service that uses that protocol. Also, it is intended for
2222
# evaluation purposes, thus possibly temporary.
2323

24-
# Maintainer: [email protected]
24+
# Maintainer: Ted Zlatanov <[email protected]>
2525
# URL: https://emba.gnu.org/emacs/emacs
2626

2727
image: debian:stretch

INSTALL

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ sections if you need to.
8282

8383
src/emacs -Q
8484

85+
To test Emacs further (intended mostly to help developers):
86+
87+
make check
88+
8589
6. Assuming that the program 'src/emacs' starts and displays its
8690
opening screen, you can install the program and its auxiliary
8791
files into their installation directories:
@@ -295,7 +299,9 @@ or more of these options:
295299
--without-gif for GIF image support
296300
--without-png for PNG image support
297301
--without-rsvg for SVG image support
298-
--without-imagemagick for Imagemagick support
302+
303+
Although ImageMagick support is disabled by default due to security
304+
and stability concerns, you can enable it with --with-imagemagick.
299305

300306
Use --without-toolkit-scroll-bars to disable Motif or Xaw3d scroll bars.
301307

INSTALL.REPO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ can invoke './configure -C'. After configuring, build Emacs as follows:
3232

3333
$ make
3434

35-
If you want to install Emacs, type 'make install' instead of 'make' in
36-
the last command.
35+
You can also type 'make check' to test and 'make install' to install
36+
Emacs.
3737

3838
Occasionally the file 'lisp/loaddefs.el' (and similar automatically
3939
generated files, such as 'esh-groups.el', and '*-loaddefs.el' in some

admin/authors.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
21
;;; authors.el --- utility for maintaining Emacs's AUTHORS file
32

43
;; Copyright (C) 2000-2019 Free Software Foundation, Inc.
54

65
;; Author: Gerd Moellmann <[email protected]>
7-
;; Maintainer: [email protected]
86
;; Keywords: maint
97
;; Package: emacs
108

admin/find-gc.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
;; Copyright (C) 1992, 2001-2019 Free Software Foundation, Inc.
44

5-
;; Maintainer: [email protected]
6-
75
;; This file is part of GNU Emacs.
86

97
;; GNU Emacs is free software: you can redistribute it and/or modify

admin/last-chance.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
;; Copyright (C) 2016-2019 Free Software Foundation, Inc.
44

55
;; Author: Thien-Thi Nguyen <[email protected]>
6-
;; Maintainer: [email protected]
76
;; Keywords: maint
87
;; Package: emacs
98

admin/make-tarball.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ General steps (for each step, check for possible errors):
115115
results against the new tar contents.
116116

117117
7. tar -xf emacs-NEW.tar; cd emacs-NEW
118-
./configure --prefix=/tmp/emacs && make && make install
118+
./configure --prefix=/tmp/emacs && make check && make install
119119
Use 'script' or M-x compile to save the compilation log in
120120
compile-NEW.log and compare it against an old one. The easiest way
121121
to do that is to visit the old log in Emacs, change the version

autogen.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
## Copyright (C) 2011-2019 Free Software Foundation, Inc.
55

66
## Author: Glenn Morris <[email protected]>
7-
## Maintainer: [email protected]
87

98
## This file is part of GNU Emacs.
109

@@ -316,8 +315,16 @@ git_config transfer.fsckObjects true
316315

317316
# Configure 'git diff' hunk header format.
318317

318+
# This xfuncname is based on Git's built-in 'cpp' pattern.
319+
# The first line rejects jump targets and access declarations.
320+
# The second line matches top-level functions and methods.
321+
# The third line matches preprocessor and DEFUN macros.
322+
git_config diff.cpp.xfuncname \
323+
'!^[ \t]*[A-Za-z_][A-Za-z_0-9]*:[[:space:]]*($|/[/*])
324+
^((::[[:space:]]*)?[A-Za-z_][A-Za-z_0-9]*[[:space:]]*\(.*)$
325+
^((#define[[:space:]]|DEFUN).*)$'
319326
git_config diff.elisp.xfuncname \
320-
'^\(def[^[:space:]]+[[:space:]]+([^()[:space:]]+)'
327+
'^\([^[:space:]]*def[^[:space:]]+[[:space:]]+([^()[:space:]]+)'
321328
git_config 'diff.m4.xfuncname' '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*'
322329
git_config 'diff.make.xfuncname' \
323330
'^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)'
@@ -332,7 +339,7 @@ git_config diff.texinfo.xfuncname \
332339
tailored_hooks=
333340
sample_hooks=
334341

335-
for hook in commit-msg pre-commit; do
342+
for hook in commit-msg pre-commit prepare-commit-msg; do
336343
cmp -- build-aux/git-hooks/$hook "$hooks/$hook" >/dev/null 2>&1 ||
337344
tailored_hooks="$tailored_hooks $hook"
338345
done
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/bin/sh
2+
# Check the format of GNU Emacs change log entries.
3+
4+
# Copyright 2019 Free Software Foundation, Inc.
5+
6+
# This file is part of GNU Emacs.
7+
8+
# 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
10+
# the Free Software Foundation, either version 3 of the License, or
11+
# (at your option) any later version.
12+
13+
# GNU Emacs is distributed in the hope that it will be useful,
14+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU General Public License for more details.
17+
18+
# You should have received a copy of the GNU General Public License
19+
# along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
20+
21+
COMMIT_MSG_FILE=$1
22+
COMMIT_SOURCE=$2
23+
SHA1=$3
24+
25+
# Prefer gawk if available, as it handles NUL bytes properly.
26+
if type gawk >/dev/null 2>&1; then
27+
awk=gawk
28+
else
29+
awk=awk
30+
fi
31+
32+
exec $awk '
33+
# Catch the case when someone ran git-commit with -s option,
34+
# which automatically adds Signed-off-by.
35+
/^Signed-off-by: / {
36+
print "'\''Signed-off-by:'\'' in commit message"
37+
status = 1
38+
}
39+
END {
40+
if (status != 0) {
41+
print "Commit aborted; please see the file 'CONTRIBUTE'"
42+
}
43+
exit status
44+
}
45+
' <"$COMMIT_MSG_FILE"

build-aux/make-info-dir

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
## Copyright (C) 2013-2019 Free Software Foundation, Inc.
66

77
## Author: Glenn Morris <[email protected]>
8-
## Maintainer: [email protected]
98

109
## This file is part of GNU Emacs.
1110

0 commit comments

Comments
 (0)