summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/info/m-x.c
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
commit7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch)
tree88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/info/m-x.c
parent03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff)
CTAN sync 202107040301
Diffstat (limited to 'macros/texinfo/texinfo/info/m-x.c')
-rw-r--r--macros/texinfo/texinfo/info/m-x.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/macros/texinfo/texinfo/info/m-x.c b/macros/texinfo/texinfo/info/m-x.c
index 64984bbb34..2515eee154 100644
--- a/macros/texinfo/texinfo/info/m-x.c
+++ b/macros/texinfo/texinfo/info/m-x.c
@@ -1,6 +1,6 @@
/* m-x.c -- Meta-x minibuffer reader.
- Copyright 1993-2019 Free Software Foundation, Inc.
+ Copyright 1993-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -73,16 +73,14 @@ DECLARE_INFO_COMMAND (describe_command,
return;
}
- /* Describe the function named in "LINE". */
if (*line)
{
InfoCommand *cmd = named_function (line);
-
- if (!cmd)
- return;
-
- window_message_in_echo_area ("%s: %s.",
- line, function_documentation (cmd));
+ if (cmd)
+ {
+ window_message_in_echo_area ("%s: %s.",
+ line, function_documentation (cmd));
+ }
}
free (line);
}