* global.c (shortcut_init): Delete a misplaced setting of 'currmenu'.
* global.c (shortcut_init, strtomenu): Cosmetic tweaks.
* doc/syntax/{changelog,c,po}.nanorc: Some small extra colourings.
+ * configure.ac, doc/texinfo/nano.texi: Make --enable-tiny disable
+ the use of libmagic, and document the --disable-libmagic flag.
2014-04-10 Benno Schulenberg <bensberg@justemail.net>
* doc/syntax/Makefile.am: Add four recent syntaxes to the packlist.
if test "x$enable_justify" != xyes; then
AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.])
fi
+ if test "x$enable_libmagic" != xyes; then
+ enable_libmagic=no
+ fi
if test "x$enable_mouse" != xyes; then
AC_DEFINE(DISABLE_MOUSE, 1, [Define this to disable the mouse support.])
fi
@item --disable-justify
Disable the justify and unjustify functions.
+@item --disable-libmagic
+Disable the use of the library of magic-number tests (for determining
+the file type and thus which syntax to use for colouring -- often the
+tests on filename extension and header line will be enough).
+
@item --disable-mouse
Disable all mouse functionality. This also eliminates the -m
command-line option, which enables the mouse functionality.