comparison lisp/cedet/semantic/decorate/mode.el @ 104514:c65d65798b34

Fix last change to use semantic-varalias-obsolete.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 26 Sep 2009 18:03:54 +0000
parents a6a812dd2d88
children bbd7017a25d9
comparison
equal deleted inserted replaced
104513:a6a812dd2d88 104514:c65d65798b34
193 ;; Activities in Emacs may cause a decoration to change state. Any 193 ;; Activities in Emacs may cause a decoration to change state. Any
194 ;; such identified change ought to be setup as PENDING. This means 194 ;; such identified change ought to be setup as PENDING. This means
195 ;; that the next idle step will do the decoration change, but at the 195 ;; that the next idle step will do the decoration change, but at the
196 ;; time of the state change, minimal work would be done. 196 ;; time of the state change, minimal work would be done.
197 (defvar semantic-decorate-pending-decoration-hook nil 197 (defvar semantic-decorate-pending-decoration-hook nil
198 "Functions to call with pending decoration changes.") 198 "Normal hook run to perform pending decoration changes.")
199 199
200 (define-obsolete-variable-alias 200 (semantic-varalias-obsolete 'semantic-decorate-pending-decoration-hooks
201 'semantic-decorate-pending-decoration-hooks 201 'semantic-decorate-pending-decoration-hook)
202 'semantic-decorate-pending-decoration-hook "23.2")
203 202
204 (defun semantic-decorate-add-pending-decoration (fcn &optional buffer) 203 (defun semantic-decorate-add-pending-decoration (fcn &optional buffer)
205 "Add a pending decoration change represented by FCN. 204 "Add a pending decoration change represented by FCN.
206 Applies only to the current BUFFER. 205 Applies only to the current BUFFER.
207 The setting of FCN will be removed after it is run." 206 The setting of FCN will be removed after it is run."