Skip to content

Commit be0c216

Browse files
authored
Add emacs instructions.
Signed-off-by: Josh Matthews <[email protected]>
1 parent ffba2f3 commit be0c216

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,13 @@ Or in vim:
282282
- `:%s/\v ([0-9A-Za-z_.-]+)#([0-9]+)/ [\1#\2](https:\/\/github.com\/servo\/\1\/pull\/\2)/gc`
283283
- `:%s/\v ([0-9A-Za-z_.-]+)\/([0-9A-Za-z_.-]+)#([0-9]+)/ [\1\/\2#\3](https:\/\/github.com\/\1\/\2\/pull\/\3)/gc`
284284

285+
Or in emacs:
286+
287+
- Replace `@\([0-9A-Za-z_.-]+\)` with `[@\1](https://github.com/\1)`
288+
- Replace ` #\([0-9]+\)` with ` [#\1](https://github.com/servo/servo/pull/\1)`
289+
- Replace ` \([0-9A-Za-z_.-]+\)#\([0-9]+\)` with ` [\1#\2](https://github.com/servo/\1/pull/\2)`
290+
- Replace ` \([0-9A-Za-z_.-]+\)/\([0-9A-Za-z_.-]+\)#\([0-9]+\)` with ` [\1/\2#\3](https://github.com/\1/\2/pull/\3)`
291+
285292
## How to count the number of pull requests in a month
286293

287294
After following the steps that generate `commits.txt`, run the following:

0 commit comments

Comments
 (0)