changeset 58237:f02cbb3be7fa

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Mon, 15 Nov 2004 15:20:33 +0000
parents ff6fd8552b2f
children 920e7325f52c
files etc/NEWS lispref/ChangeLog src/ChangeLog
diffstat 3 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Mon Nov 15 15:19:48 2004 +0000
+++ b/etc/NEWS	Mon Nov 15 15:20:33 2004 +0000
@@ -3640,6 +3640,12 @@
 specified) window as a string with or without text properties.
 
 +++
+** New function safe-plist-get.
+
+This function is like plist-get, but never signals an error for
+a malformed property list.
+
++++
 ** New functions `lax-plist-get' and `lax-plist-put'.
 
 These functions are like `plist-get' and `plist-put' except that they
--- a/lispref/ChangeLog	Mon Nov 15 15:19:48 2004 +0000
+++ b/lispref/ChangeLog	Mon Nov 15 15:20:33 2004 +0000
@@ -1,6 +1,7 @@
 2004-11-15  Kim F. Storm  <storm@cua.dk>
 
-	* symbols.texi (Other Plists): Add safe-plist-get.
+	* symbols.texi (Other Plists): Note that plist-get may signal error.
+	Add safe-plist-get.
 
 2004-11-15  Thien-Thi Nguyen  <ttn@gnu.org>
 
--- a/src/ChangeLog	Mon Nov 15 15:19:48 2004 +0000
+++ b/src/ChangeLog	Mon Nov 15 15:20:33 2004 +0000
@@ -1,3 +1,15 @@
+2004-11-15  Kim F. Storm  <storm@cua.dk>
+
+	* fns.c (Fsafe_plist_get): New defun.
+	(syms_of_fns): Defsubr it.
+
+	* lisp.h (Fsafe_plist_get): Add EXFUN.
+
+	* xdisp.c (store_mode_line_string, produce_stretch_glyph):
+	Use Fsafe_plist_get.
+	(note_mode_line_or_margin_highlight, note_mouse_highlight):
+	Fix image map element parsing.  Use Fsafe_plist_get.
+
 2004-11-15  Richard M. Stallman  <rms@gnu.org>
 
 	* xdisp.c (get_next_display_element): Fix previous change.