Skip to content

Commit 7d7d051

Browse files
committed
Merge branch 'ab/nuke-emacs-contrib'
The scripts in contrib/emacs/ have outlived their usefulness and have been replaced with a stub that errors out and tells the user there are replacements. * ab/nuke-emacs-contrib: git{,-blame}.el: remove old bitrotting Emacs code
2 parents e998e7a + 6d5ed48 commit 7d7d051

File tree

5 files changed

+25
-2228
lines changed

5 files changed

+25
-2228
lines changed

contrib/emacs/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

contrib/emacs/Makefile

Lines changed: 0 additions & 21 deletions
This file was deleted.

contrib/emacs/README

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
1-
This directory contains various modules for Emacs support.
1+
This directory used to contain various modules for Emacs support.
22

3-
To make the modules available to Emacs, you should add this directory
4-
to your load-path, and then require the modules you want. This can be
5-
done by adding to your .emacs something like this:
3+
These were added shortly after Git was first released. Since then
4+
Emacs's own support for Git got better than what was offered by these
5+
modes. There are also popular 3rd-party Git modes such as Magit which
6+
offer replacements for these.
67

7-
(add-to-list 'load-path ".../git/contrib/emacs")
8-
(require 'git)
9-
(require 'git-blame)
10-
11-
12-
The following modules are available:
8+
The following modules were available, and can be dug up from the Git
9+
history:
1310

1411
* git.el:
1512

16-
Status manager that displays the state of all the files of the
17-
project, and provides easy access to the most frequently used git
18-
commands. The user interface is as far as possible compatible with
19-
the pcl-cvs mode. It can be started with `M-x git-status'.
13+
Wrapper for "git status" that provided access to other git commands.
14+
15+
Modern alternatives to this include Magit, and VC mode that ships
16+
with Emacs.
2017

2118
* git-blame.el:
2219

23-
Emacs implementation of incremental git-blame. When you turn it on
24-
while viewing a file, the editor buffer will be updated by setting
25-
the background of individual lines to a color that reflects which
26-
commit it comes from. And when you move around the buffer, a
27-
one-line summary will be shown in the echo area.
20+
A wrapper for "git blame" written before Emacs's own vc-annotate
21+
mode learned to invoke git-blame, which can be done via C-x v g.
2822

2923
* vc-git.el:
3024

0 commit comments

Comments
 (0)