emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 r116831: * lispref/commands.texi (Defining Comman


From: Glenn Morris
Subject: [Emacs-diffs] emacs-24 r116831: * lispref/commands.texi (Defining Commands): List interactive-only values.
Date: Sat, 22 Mar 2014 19:54:55 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116831
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-03-22 12:54:48 -0700
message:
  * lispref/commands.texi (Defining Commands): List interactive-only values.
modified:
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/commands.texi      
commands.texi-20091113204419-o5vbwnq5f7feedwu-6165
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2014-03-22 08:35:03 +0000
+++ b/doc/lispref/ChangeLog     2014-03-22 19:54:48 +0000
@@ -1,3 +1,7 @@
+2014-03-22  Glenn Morris  <address@hidden>
+
+       * commands.texi (Defining Commands): List interactive-only values.
+
 2014-03-22  Eli Zaretskii  <address@hidden>
 
        * functions.texi (Core Advising Primitives): Fix cross-reference

=== modified file 'doc/lispref/commands.texi'
--- a/doc/lispref/commands.texi 2014-03-21 07:06:55 +0000
+++ b/doc/lispref/commands.texi 2014-03-22 19:54:48 +0000
@@ -126,7 +126,11 @@
   Sometimes, a function is only intended to be called interactively,
 never directly from Lisp.  In that case, give the function a
 address@hidden @code{interactive-only} property.  This causes the
-byte compiler to warn if the command is called from Lisp.
+byte compiler to warn if the command is called from Lisp.  The value
+of the property can be: a string, which the byte-compiler will
+use directly in its warning (it should end with a period,
+and not start with a capital); @code{t}; any other symbol, which
+should be an alternative function to use in Lisp code.
 
 @menu
 * Using Interactive::     General rules for @code{interactive}.


reply via email to

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