[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110991: Minor fixes for Lisp manu
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110991: Minor fixes for Lisp manual. |
Date: |
Wed, 05 Dec 2012 11:52:08 +0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110991
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Wed 2012-12-05 11:52:08 +0800
message:
Minor fixes for Lisp manual.
* lists.texi (Plist Access): Move put example to Symbol Plists.
* symbols.texi (Standard Properties): Fix typo.
modified:
doc/lispref/ChangeLog
doc/lispref/lists.texi
doc/lispref/symbols.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2012-12-02 09:14:16 +0000
+++ b/doc/lispref/ChangeLog 2012-12-05 03:52:08 +0000
@@ -1,3 +1,9 @@
+2012-12-05 Chong Yidong <address@hidden>
+
+ * lists.texi (Plist Access): Move put example to Symbol Plists.
+
+ * symbols.texi (Standard Properties): Fix typo.
+
2012-12-02 Chong Yidong <address@hidden>
* symbols.texi (Symbol Properties): New node.
=== modified file 'doc/lispref/lists.texi'
--- a/doc/lispref/lists.texi 2012-12-02 09:14:16 +0000
+++ b/doc/lispref/lists.texi 2012-12-05 03:52:08 +0000
@@ -1936,14 +1936,6 @@
@end example
@end defun
- You could define @code{put} in terms of @code{plist-put} as follows:
-
address@hidden
-(defun put (symbol prop value)
- (setplist symbol
- (plist-put (symbol-plist symbol) prop value)))
address@hidden example
-
@defun lax-plist-get plist property
Like @code{plist-get} except that it compares properties
using @code{equal} instead of @code{eq}.
=== modified file 'doc/lispref/symbols.texi'
--- a/doc/lispref/symbols.texi 2012-12-02 09:14:16 +0000
+++ b/doc/lispref/symbols.texi 2012-12-05 03:52:08 +0000
@@ -449,6 +449,15 @@
purposes, it may make sense to use the property list cell in a
nonstandard fashion; in fact, the abbrev mechanism does so
(@pxref{Abbrevs}).
+
+You could define @code{put} in terms of @code{setplist} and
address@hidden, as follows:
+
address@hidden
+(defun put (symbol prop value)
+ (setplist symbol
+ (plist-put (symbol-plist symbol) prop value)))
address@hidden example
@end defun
@defun function-get symbol property
@@ -474,8 +483,8 @@
The value, if address@hidden, specifies the number of extra slots in
the named char-table type. @xref{Char-Tables}.
address@hidden customized-face
address@hidden face-defface-spec
address@hidden customized-face
address@hidden face-defface-spec
@itemx saved-face
@itemx theme-face
These properties are used to record a face's standard, saved,
@@ -483,9 +492,9 @@
managed by @code{defface} and related functions. @xref{Defining
Faces}.
address@hidden customized-value
address@hidden customized-value
@itemx saved-value
address@hidden standard-value
address@hidden standard-value
@itemx theme-value
These properties are used to record a customizable variable's standard
value, saved value, customized-but-unsaved value, and themed values.
@@ -498,7 +507,7 @@
@item face-documentation
The value stores the documentation string of the named face. This is
-normally set automatically by @code{defface}. @xref{Defining Faces}.
+set automatically by @code{defface}. @xref{Defining Faces}.
@item history-length
The value, if address@hidden, specifies the maximum minibuffer history
@@ -555,6 +564,6 @@
@item variable-documentation
If address@hidden, this specifies the named vaariable's documentation
-string. This is normally set automatically by @code{defvar} and
-related functions. @xref{Defining Faces}.
+string. This is set automatically by @code{defvar} and related
+functions. @xref{Defining Faces}.
@end table
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110991: Minor fixes for Lisp manual.,
Chong Yidong <=