texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5607] M-x info-version


From: Gavin D. Smith
Subject: [5607] M-x info-version
Date: Sun, 25 May 2014 19:46:09 +0000

Revision: 5607
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5607
Author:   gavin
Date:     2014-05-25 19:46:06 +0000 (Sun, 25 May 2014)
Log Message:
-----------
M-x info-version

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/info-stnd.texi
    trunk/info/session.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-05-25 19:28:13 UTC (rev 5606)
+++ trunk/ChangeLog     2014-05-25 19:46:06 UTC (rev 5607)
@@ -3,6 +3,11 @@
        * info/infodoc.c (create_internal_info_help_node): Show program
        version in help window.
        
+       * info/session.c (info_info_version): New command to show version
+       of program.
+       * doc/info-stnd.texi (Miscellanous Commands): Document "M-x
+       info-version".
+
 2014-05-25  Karl Berry  <address@hidden>
 
        * doc/info-stnd.texi (Invoking info): tweaks to invocation examples;

Modified: trunk/doc/info-stnd.texi
===================================================================
--- trunk/doc/info-stnd.texi    2014-05-25 19:28:13 UTC (rev 5606)
+++ trunk/doc/info-stnd.texi    2014-05-25 19:46:06 UTC (rev 5607)
@@ -1909,6 +1909,10 @@
 the Info file name, and current line number and percentage within the
 current node.
 
address@hidden @kbd{M-x info-version}
address@hidden info-version
+Display the name and version of the currently running Info program.
+
 @end table
 
 Here are the commands for creating a numeric argument:

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2014-05-25 19:28:13 UTC (rev 5606)
+++ trunk/info/session.c        2014-05-25 19:46:06 UTC (rev 5607)
@@ -4681,6 +4681,11 @@
   info_last_executed_command = NULL;
 }
 
+DECLARE_INFO_COMMAND (info_info_version, _("Display version of Info being 
run"))
+{
+  window_message_in_echo_area (_("GNU Info version %s"), VERSION);
+}
+
 /* Move the cursor to the desired line of the window. */
 DECLARE_INFO_COMMAND (info_move_to_window_line,
    _("Move the cursor to a specific line of the window"))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]