Skip to content

Commit

Permalink
Drop NOTAB optional build mode, now enabled by default upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Aug 9, 2023
1 parent b4b7059 commit 88d8176
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
5 changes: 0 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ AC_ARG_ENABLE(compile, AS_HELP_STRING([--disable-compile], [Disable C compile
AC_ARG_ENABLE(cscope, AS_HELP_STRING([--disable-cscope], [Disable Cscope support]))
AC_ARG_ENABLE(ctags, AS_HELP_STRING([--disable-ctags], [Disable ctags(1) support, required by Cscope]))
AC_ARG_ENABLE(dired, AS_HELP_STRING([--disable-dired], [Disable directory editor]))
AC_ARG_ENABLE(notab, AS_HELP_STRING([--disable-notab], [Disable notab mode support]))
AC_ARG_ENABLE(regexp, AS_HELP_STRING([--disable-regexp], [Disable full regexp search]))
AC_ARG_ENABLE(togglenl, AS_HELP_STRING([--disable-togglenl], [Disable toggle-newline-prompt extension]))
AC_ARG_ENABLE(all, AS_HELP_STRING([--disable-all], [Disable all optional features]))
Expand Down Expand Up @@ -113,7 +112,6 @@ AS_IF([test "x$enable_all" = "xno"],
enable_cscope="no"
enable_ctags="no"
enable_dired="no"
enable_notab="no"
enable_regexp="no"
enable_togglenl="no"
startup="no")
Expand Down Expand Up @@ -145,9 +143,6 @@ AS_IF([test "x$enable_ctags" != "xno"], enable_ctags="yes"
AS_IF([test "x$enable_dired" != "xno"], enable_dired="yes"
AC_DEFINE(ENABLE_DIRED, 1, [Enable dired, the directory editor]))

AS_IF([test "x$enable_notab" != "xno"], enable_notab="yes"
AC_DEFINE(NOTAB, 1, [Enable notab mode, disabled in OpenBSD]))

AS_IF([test "x$enable_regexp" != "xno"], enable_regexp="yes"
AC_DEFINE(REGEX, 1, [Enable regexp search support]))

Expand Down
4 changes: 1 addition & 3 deletions doc/mg.doc
Original file line number Diff line number Diff line change
Expand Up @@ -1485,9 +1485,7 @@ the list; otherwise, it is removed from the list.

In notab mode, tabs are expanded into spaces instead of inserted literally
into the buffer. Literal tab characters are displayed as ^I (much like
other control characters). These commands are available if MG is compiled
with the symbol NOTAB defined. (This mode is mainly for use on systems
such as PRIMOS that do not treat tab as a series of spaces.)
other control characters).

no-tab-mode
This command is a toggle to control whether notab mode is in effect.
Expand Down
5 changes: 1 addition & 4 deletions doc/mg.tex
Original file line number Diff line number Diff line change
Expand Up @@ -879,10 +879,7 @@ \section{No Tab Mode}

In notab mode, tabs are expanded into spaces instead of inserted
literally into the buffer. Literal tab characters are displayed as
\verb"^I" (much like other control characters). These commands are
available if MG is compiled with the symbol NOTAB defined. (This mode
is mainly for use on systems such as PRIMOS that do not treat tab as a
series of spaces.)
\verb"^I" (much like other control characters).

\fname{no-tab-mode}{}{}
\fbody This command is a toggle to control whether notab mode is in effect.
Expand Down

0 comments on commit 88d8176

Please sign in to comment.