2011-12-27 Sam Steingold <s...@gnu.org> * lisp/bbdb.el (bbdb-auto-notes-rules): Use :set keyword to reset `bbdb-auto-notes-rules-expanded' when `bbdb-auto-notes-rules' is set.
diff --git a/lisp/bbdb.el b/lisp/bbdb.el index 44c4181..a25cd34 100644 --- a/lisp/bbdb.el +++ b/lisp/bbdb.el @@ -1082,10 +1082,13 @@ See also variables `bbdb-auto-notes-ignore-messages' and For speed-up, the function `bbdb-auto-notes' actually use expanded rules stored in the internal variable `bbdb-auto-notes-rules-expanded'. -If you change the value of `bbdb-auto-notes-rules' +If you change the value of `bbdb-auto-notes-rules' outside of customize, set `bbdb-auto-notes-rules-expanded' to nil, so that the expanded rules will be re-evaluated." :group 'bbdb-mua + :set (lambda (symbol value) + (set-default symbol value) + (setq bbdb-auto-notes-rules-expanded nil)) :type '(repeat (bbdb-alist-with-header (repeat (choice -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://iris.org.il http://www.PetitionOnline.com/tap12009/ http://truepeace.org http://mideasttruth.com http://camera.org If a cat tells you that you lost your mind, then it is so. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/