Mercurial > emacs
changeset 61649:07fac5b8e9dc
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 19 Apr 2005 09:13:36 +0000 |
parents | d1980873b722 |
children | 9a27f4097b8f |
files | etc/NEWS src/ChangeLog |
diffstat | 2 files changed, 20 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Tue Apr 19 09:11:51 2005 +0000 +++ b/etc/NEWS Tue Apr 19 09:13:36 2005 +0000 @@ -4190,9 +4190,15 @@ 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 +** New function `safe-get'. + +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. +++
--- a/src/ChangeLog Tue Apr 19 09:11:51 2005 +0000 +++ b/src/ChangeLog Tue Apr 19 09:13:36 2005 +0000 @@ -1,3 +1,14 @@ +2005-04-19 Kim F. Storm <storm@cua.dk> + + * 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 <storm@cua.dk> * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap.