From d063683916b1d47e041a81a2bfb77987d153777c Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 19 Apr 2005 09:13:36 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 10 ++++++++-- src/ChangeLog | 11 +++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 4696853e27d..121ca16deb6 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -4190,9 +4190,15 @@ 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. +** New function `safe-get'. -This function is like plist-get, but never signals an error for +This function is like `get', but never signals an error for +a malformed symbol property list. + ++++ +** New function `safe-plist-get'. + +This function is like `plist-get', but never signals an error for a malformed property list. +++ diff --git a/src/ChangeLog b/src/ChangeLog index ac7d5fb07f3..e4a9f4eae9f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2005-04-19 Kim F. Storm + + * fns.c (Fsafe_get): New function. + (syms_of_fns): Defsubr it. + + * lisp.h (Fsafe_get): EXFUN it. + + * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay + loops in case of bad face property lists. Limit number of face + alias lookups to 10 (in case of face alias loops). + 2005-04-18 Kim F. Storm * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. -- 2.39.2