# HG changeset patch # User Rik # Date 1515046863 28800 # Node ID 85ace8208635b4f758ace96438f23c727ae0ddd7 # Parent dc25a0dc780045a754266c54727e21b64894a690 help.m: Don't return directory for help on '...' (bug #52774). * help.m: Check for name '...' before calling which to determine the file. diff -r dc25a0dc7800 -r 85ace8208635 scripts/help/help.m --- a/scripts/help/help.m Tue Jan 02 04:14:36 2018 -0600 +++ b/scripts/help/help.m Wed Jan 03 22:21:03 2018 -0800 @@ -117,7 +117,7 @@ endif if (nargout == 0) - if (! any (strcmp (name, {'./', '.\'}))) + if (! any (strcmp (name, {'./', '.\', '...'}))) evalin ("caller", ['which ("' undo_string_escapes(name) '")']); endif printf ("\n%s\n%s", text, __additional_help_message__ ());