diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-19 14:43:13 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-19 14:43:13 +0000 |
commit | 6ab60d4920bb3199aee8cd872b930e9e3e808ba7 (patch) | |
tree | 3d761dbf8793a1d2422fbd14667255c7e0292ea4 /contrib/scripts/texinfo-hacks.el | |
parent | c2f27dfe8218545c327ab49d225a49910347c5c6 (diff) | |
download | gnunet-6ab60d4920bb3199aee8cd872b930e9e3e808ba7.tar.gz gnunet-6ab60d4920bb3199aee8cd872b930e9e3e808ba7.zip |
Restructure contrib folder.
contrib/pogen.sh -> bin/pogen.sh
bootstrap: Use new pogen location and execute it.
contrib/openvpn-tap32: Move to contrib/3rdparty/Windows/openvpn-tap32.
contrib/gnunet-logo*: Move to contrib/branding/logo/
Delete old patches in contrib, predating git.
Move buildbot data to contrib/ci/buildbot,
move docker data to contrib/ci/docker.
Create contrib/conf and populate it with config files found in contrib and bin.
Move gns related data to contrib/gns.
delete contrib/repeat.sh
Move contrib/log.php into contrib/web/log.php.
Create folder contrib/scripts and use it for most scripts in contrib.
Remove trailing whitespace in doc/Makefile.am
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'contrib/scripts/texinfo-hacks.el')
-rw-r--r-- | contrib/scripts/texinfo-hacks.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/scripts/texinfo-hacks.el b/contrib/scripts/texinfo-hacks.el new file mode 100644 index 000000000..bfb5c98fa --- /dev/null +++ b/contrib/scripts/texinfo-hacks.el | |||
@@ -0,0 +1,18 @@ | |||
1 | ;;;; hacks.el --- a few functions to help me work on the manual | ||
2 | ;;;; Jim Blandy <jimb@red-bean.com> --- October 1998 | ||
3 | ;;;; -- imported from https://git.savannah.gnu.org/cgit/guile.git/tree/doc/hacks.el | ||
4 | ;;;; This code should be covered by the same license as GNU Guile (GPL3). | ||
5 | |||
6 | (defun jh-exemplify-region (start end) | ||
7 | (interactive "r") | ||
8 | (save-excursion | ||
9 | (save-restriction | ||
10 | (narrow-to-region start end) | ||
11 | |||
12 | ;; Texinfo doesn't handle tabs well. | ||
13 | (untabify (point-min) (point-max)) | ||
14 | |||
15 | ;; Quote any characters special to texinfo. | ||
16 | (goto-char (point-min)) | ||
17 | (while (re-search-forward "[{}@]" nil t) | ||
18 | (replace-match "@\\&"))))) | ||