Mercurial > emacs
comparison lisp/tooltip.el @ 87404:5d4b7a894119
Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 25 Dec 2007 22:48:48 +0000 |
parents | f6740b43efae |
children | 107ccd98fa12 56a72e2bd635 |
comparison
equal
deleted
inserted
replaced
87403:f6740b43efae | 87404:5d4b7a894119 |
---|---|
270 (skip-syntax-forward "w_") | 270 (skip-syntax-forward "w_") |
271 (when (> (point) start) | 271 (when (> (point) start) |
272 (buffer-substring start (point))))))) | 272 (buffer-substring start (point))))))) |
273 | 273 |
274 (defmacro tooltip-region-active-p () | 274 (defmacro tooltip-region-active-p () |
275 "Value is non-nil if the region is currently active." | 275 "Value is non-nil if the region should override command actions." |
276 `(use-region-p)) | 276 `(use-region-p)) |
277 | 277 |
278 (defun tooltip-expr-to-print (event) | 278 (defun tooltip-expr-to-print (event) |
279 "Return an expression that should be printed for EVENT. | 279 "Return an expression that should be printed for EVENT. |
280 If a region is active and the mouse is inside the region, print | 280 If a region is active and the mouse is inside the region, print |