diff src/pager.cc @ 8746:5dd06f19e9be

handle commands in the lexer
author John W. Eaton <jwe@octave.org>
date Sun, 15 Feb 2009 23:49:15 -0500
parents 3c999b2b5de8
children eb63fbe60fab
line wrap: on
line diff
--- a/src/pager.cc
+++ b/src/pager.cc
@@ -418,7 +418,7 @@
     error ("diary: can't open diary file `%s'", diary_file.c_str ());
 }
 
-DEFCMD (diary, args, ,
+DEFUN (diary, args, ,
   "-*- texinfo -*-\n\
 @deffn {Command} diary options\n\
 Create a list of all commands @emph{and} the output they produce, mixed\n\
@@ -489,7 +489,7 @@
   return retval;
 }
 
-DEFCMD (more, args, ,
+DEFUN (more, args, ,
   "-*- texinfo -*-\n\
 @deffn {Command} more\n\
 @deffnx {Command} more on\n\