(error (concat "Pulse test only works on versions of Emacs"
" that support pulsing")))
;; Run the tests
- (when (cedet-called-interactively-p)
+ (when (called-interactively-p 'any)
(message "<Press a key> Pulse one line.")
(read-char))
(pulse-momentary-highlight-one-line (point))
- (when (cedet-called-interactively-p)
+ (when (called-interactively-p 'any)
(message "<Press a key> Pulse a region.")
(read-char))
(pulse-momentary-highlight-region (point)
(forward-char 30)
(error nil))
(point)))
- (when (cedet-called-interactively-p)
+ (when (called-interactively-p 'any)
(message "<Press a key> Pulse line a specific color.")
(read-char))
(pulse-momentary-highlight-one-line (point) 'modeline)
- (when (cedet-called-interactively-p)
+ (when (called-interactively-p 'any)
(message "<Press a key> Pulse a pre-existing overlay.")
(read-char))
(let* ((start (point-at-bol))
(delete-overlay o)
(error "Non-temporary overlay was deleted!"))
)
- (when (cedet-called-interactively-p)
+ (when (called-interactively-p 'any)
(message "Done!"))))