aboutsummaryrefslogtreecommitdiff
path: root/doc/hacks.el
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-10-21 15:45:29 +0000
committerng0 <ng0@infotropique.org>2017-10-21 15:45:29 +0000
commitf40c4ab2de20ec6a070b3c07a082633be10be80f (patch)
tree8f696b30743f4cf065f59e766a5f78bf564719ca /doc/hacks.el
parentf454f1fc042c42ee1dc87c7837b655a45ef327b5 (diff)
downloadgnunet-f40c4ab2de20ec6a070b3c07a082633be10be80f.tar.gz
gnunet-f40c4ab2de20ec6a070b3c07a082633be10be80f.zip
doc changes
modified: contrib/packages/guix/gnunet-doc.scm adapt to the changes in this mixed commit modified: doc/.gitignore add new files modified: doc/Makefile.am make use of canonical, included, rules generate html output with docstyle.css from taler exchange. modified: doc/chapters/installation.texi new file: doc/chapters/vocabulary.texi modified: doc/gnunet-c-tutorial.texi modified: doc/gnunet.texi new file: doc/docstyle.css not really in use yet, but collected for later: doc/gendocs.sh , doc/hacks.el
Diffstat (limited to 'doc/hacks.el')
-rw-r--r--doc/hacks.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/hacks.el b/doc/hacks.el
new file mode 100644
index 000000000..9f271b3af
--- /dev/null
+++ b/doc/hacks.el
@@ -0,0 +1,17 @@
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
5(defun jh-exemplify-region (start end)
6 (interactive "r")
7 (save-excursion
8 (save-restriction
9 (narrow-to-region start end)
10
11 ;; Texinfo doesn't handle tabs well.
12 (untabify (point-min) (point-max))
13
14 ;; Quote any characters special to texinfo.
15 (goto-char (point-min))
16 (while (re-search-forward "[{}@]" nil t)
17 (replace-match "@\\&")))))