diff scripts/miscellaneous/recycle.m @ 13918:043aead8ed89

Remove recycle from list of unimplemented functions * unimplemented.m: Remove recycle from list. * recycle.m: Correct typo in code. Use standard phrasing in docstring.
author Rik <octave@nomad.inbox5.com>
date Tue, 22 Nov 2011 19:50:06 -0800
parents 69afe121f07e
children 9cae456085c2
line wrap: on
line diff
--- a/scripts/miscellaneous/recycle.m
+++ b/scripts/miscellaneous/recycle.m
@@ -19,7 +19,7 @@
 ## -*- texinfo -*-
 ## @deftypefn  {Function File} {@var{current_state}} recycle ()
 ## @deftypefnx  {Function File} {@var{old_state}} recycle (@var{new_state})
-## Display or set the preference for recycling deleted files.
+## Query or set the preference for recycling deleted files.
 ##
 ## Recycling files instead of permanently deleting them is currently not
 ## implemented in Octave.  To help avoid accidental data loss it
@@ -51,7 +51,7 @@
         error ("recycle: invalid value of STATE = `%s'", state);
       endif
     else
-      erroor ("recycle: expecting STATE to be a character string");
+      error ("recycle: expecting STATE to be a character string");
     endif
   endif