Skip to content

Commit 5ada77e

Browse files
committed
Merge pull request #427 from gracjan/pr-haskell-info-fixes
Pr haskell info fixes
2 parents 153bba0 + accdcfc commit 5ada77e

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ dir: haskell-mode.info
9595
$(INSTALL_INFO) --dir=$@ $<
9696

9797
haskell-mode.tmp.texi: haskell-mode.texi
98+
@sed -n -e '/@chapter/ s/@code{\(.*\)}/\1/' \
99+
-e 's/@chapter \(.*\)$$/* \1::/p' \
100+
-e 's/@unnumbered \(.*\)$$/* \1::/p' \
101+
haskell-mode.texi > haskell-mode-menu-order.txt
102+
@sed -e '1,/@menu/ d' \
103+
-e '/end menu/,$$ d' \
104+
haskell-mode.texi > haskell-mode-content-order.txt
105+
diff -C 1 haskell-mode-menu-order.txt haskell-mode-content-order.txt
106+
@rm haskell-mode-menu-order.txt haskell-mode-content-order.txt
107+
98108
$(SUBST_ATAT) < haskell-mode.texi > haskell-mode.tmp.texi
99109

100110
haskell-mode.info: haskell-mode.tmp.texi

haskell-mode.texi

+3-4
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,16 @@ Haskell Mode is an Haskell development Environment for GNU Emacs version 23 or l
5555
* Getting Help and Reporting Bugs::
5656
* Getting Started::
5757
* Editing Haskell Code::
58-
* Unicode::
58+
* Unicode support::
5959
* Indentation::
60-
* Compilation::
6160
* haskell-decl-scan-mode::
61+
* Compilation::
6262
* inferior-haskell-mode::
6363
* haskell-interactive-mode::
6464
* haskell-cabal-mode::
6565
* Concept index::
6666
* Function index::
6767
* Variable index::
68-
6968
@end menu
7069

7170
@node Introduction
@@ -150,7 +149,7 @@ The major mode @code{literate-haskell-mode} (which is derived from @code{haskell
150149

151150
@code{haskell-mode} supports @dfn{syntax highlighting} via Emacs' Font Lock minor mode which should be enabled by default in current Emacsen. @xref{Font Lock,,,emacs}, for more information on how to control @code{font-lock-mode}.
152151

153-
@node Unicode
152+
@node Unicode support
154153
@chapter Unicode support
155154

156155
@cindex Unicode

0 commit comments

Comments
 (0)