aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Manheimer2011-03-11 13:46:12 -0500
committerKen Manheimer2011-03-11 13:46:12 -0500
commit14239447d34591d3bc90d0d447dd8253a37e49eb (patch)
tree4e87a169c48de8e27946a0be3a42cbc73f8aff32
parentef1fd07e4e728fcbf60ce87f1434f5fd46862262 (diff)
downloademacs-14239447d34591d3bc90d0d447dd8253a37e49eb.tar.gz
emacs-14239447d34591d3bc90d0d447dd8253a37e49eb.zip
* allout-widgets.el (allout-widgets-tally) Initialize allout-widgets-tally
as a hash table rather than nil to prevent mode-line redisplay warnings. Also, clarify the module description and fix a comment typoo (sic).
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/allout-widgets.el4
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ca24dcff4a7..9456644a7a8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2
3 * allout-widgets.el (allout-widgets-tally) Initialize
4 allout-widgets-tally as a hash table rather than nil to prevent
5 mode-line redisplay warnings.
6 Also, clarify the module description and fix a comment typo.
7
8
12011-03-11 Juanma Barranquero <lekktu@gmail.com> 92011-03-11 Juanma Barranquero <lekktu@gmail.com>
2 10
3 * help-fns.el (describe-variable): Don't complete keywords. 11 * help-fns.el (describe-variable): Don't complete keywords.
diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el
index cc5fd6d96fa..47f181ab76b 100644
--- a/lisp/allout-widgets.el
+++ b/lisp/allout-widgets.el
@@ -1,4 +1,4 @@
1;; allout-widgets.el --- Show allout outline structure with graphical widgets. 1;; allout-widgets.el --- Visually highlight allout outline structure.
2 2
3;; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Ken Manheimer 3;; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Ken Manheimer
4 4
@@ -238,7 +238,7 @@ buffer, and tracking increases as new widgets are added and
238decreases as obsolete widgets are garbage collected." 238decreases as obsolete widgets are garbage collected."
239 :type 'boolean 239 :type 'boolean
240 :group 'allout-widgets-developer) 240 :group 'allout-widgets-developer)
241(defvar allout-widgets-tally nil 241(defvar allout-widgets-tally (make-hash-table :test 'eq :weakness 'key)
242 "Hash-table of existing allout widgets, for debugging. 242 "Hash-table of existing allout widgets, for debugging.
243 243
244Table is maintained iff `allout-widgets-maintain-tally' is non-nil. 244Table is maintained iff `allout-widgets-maintain-tally' is non-nil.