[Bug: 21.5-b28] mswindows-short/long-file-name builtins are erroneously declared interactive
Aidan Kehoe
kehoea at parhasard.net
Sat Jul 26 05:54:33 EDT 2008
APPROVE COMMIT
NOTE: this patch has been committed,
http://hg.debian.org/hg/xemacs/xemacs?cs=866b84b7c97e
Thanks for the patch, John Paul!
Ar an fichiú lá de mí Iúil, scríobh John Paul Wallington:
> ================================================================
> Dear Bug Team!
>
> M-x mswindows[TAB] offered a couple of weird commpletions, namely
> `mswindows-short-file-name' and `mswindows-long-file-name'. They
> shouldn't have an interactive spec, at least until they do something
> useful interactively.
>
> Here's the fix:
>
> 2008-07-20 John Paul Wallington <jpw at pobox.com>
>
> * nt.c (Fmswindows_short_file_name, Fmswindows_long_file_name):
> Remove their interactive specs; they shouldn't be called interactively.
>
> diff -u c:\src\xemacs-21.5\src\nt.c~ c:\src\xemacs-21.5\src\nt.c
> --- c:\src\xemacs-21.5\src\nt.c~ Sun Jul 20 01:14:49 2008
> +++ c:\src\xemacs-21.5\src\nt.c Sun Jul 20 01:14:49 2008
> @@ -2063,7 +2063,7 @@
> /* Some miscellaneous functions that are Windows specific, but not GUI
> specific (ie. are applicable in terminal or batch mode as well). */
>
> -DEFUN ("mswindows-short-file-name", Fmswindows_short_file_name, 1, 1, "", /*
> +DEFUN ("mswindows-short-file-name", Fmswindows_short_file_name, 1, 1, 0, /*
> Return the short file name version (8.3) of the full path of FILENAME.
> If FILENAME does not exist, return nil.
> All path elements in FILENAME are converted to their short names.
> @@ -2092,7 +2092,7 @@
> }
>
>
> -DEFUN ("mswindows-long-file-name", Fmswindows_long_file_name, 1, 1, "", /*
> +DEFUN ("mswindows-long-file-name", Fmswindows_long_file_name, 1, 1, 0, /*
> Return the long file name version of the full path of FILENAME.
> If FILENAME does not exist, return nil.
> All path elements in FILENAME are converted to their long names.
>
>
>
> ================================================================
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
More information about the XEmacs-Beta
mailing list