]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Mon, 15 Nov 2004 15:20:33 +0000 (15:20 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 15 Nov 2004 15:20:33 +0000 (15:20 +0000)
etc/NEWS
lispref/ChangeLog
src/ChangeLog

index c96eb114727c30b14d9c1df3c8f4166ba53f780e..440ef5d5431a4f5ab5399b884c3a48fda08c05ed 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3639,6 +3639,12 @@ or the header line.
 This returns the mode-line or header-line of the selected (or a
 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'.
 
index 0ba9c4f2519ae31b07dbba34843ad2c994ba5944..104037b65165f24c90efc2b5dec889acc6cb09d8 100644 (file)
@@ -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>
 
index a21effceed4bb9214aa1d64477a7a15faac44177..046e132518d14fbdf6c5d86da836a0c0edeaf02f 100644 (file)
@@ -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.