# HG changeset patch # User Juanma Barranquero # Date 1118915922 0 # Node ID 8e09dea7559c4434fb805d0296e094ea8f16c0c8 # Parent 0f66f455f7d7bdb5d8deb54742352e308b607b34 (tooltip-start-delayed-tip, tooltip-timeout, tooltip-use-echo-area, tooltip-process-prompt-regexp, tooltip-help-tips): Fix typos in docstrings. diff -r 0f66f455f7d7 -r 8e09dea7559c lisp/tooltip.el --- a/lisp/tooltip.el Thu Jun 16 05:39:56 2005 +0000 +++ b/lisp/tooltip.el Thu Jun 16 09:58:42 2005 +0000 @@ -120,9 +120,9 @@ :group 'tooltip) (make-obsolete-variable 'tooltip-use-echo-area -"To display help tooltips in the echo area turn tooltip-mode off. -To display GUD tooltips in the echo area turn gud-tooltip-mode on and set -gud-tooltip-echo-area to t." "22.1") +"To display help tooltips in the echo area turn `tooltip-mode' off. +To display GUD tooltips in the echo area turn `gud-tooltip-mode' on and set +`gud-tooltip-echo-area' to t." "22.1") ;;; Variables that are not customizable. @@ -201,12 +201,12 @@ (setq tooltip-timeout-id nil))) (defun tooltip-start-delayed-tip () - "Add a one-shot timeout to call function tooltip-timeout." + "Add a one-shot timeout to call function `tooltip-timeout'." (setq tooltip-timeout-id (add-timeout (tooltip-delay) 'tooltip-timeout nil))) (defun tooltip-timeout (object) - "Function called when timer with id tooltip-timeout-id fires." + "Function called when timer with id `tooltip-timeout-id' fires." (run-hook-with-args-until-success 'tooltip-hook tooltip-last-mouse-motion-event)) @@ -301,8 +301,8 @@ (defun tooltip-process-prompt-regexp (process) "Return regexp matching the prompt of PROCESS at the end of a string. -The prompt is taken from the value of COMINT-PROMPT-REGEXP in the buffer -of PROCESS." +The prompt is taken from the value of `comint-prompt-regexp' in +the buffer of PROCESS." (let ((prompt-regexp (save-excursion (set-buffer (process-buffer process)) comint-prompt-regexp))) @@ -349,7 +349,7 @@ (defun tooltip-help-tips (event) "Hook function to display a help tooltip. This is installed on the hook `tooltip-hook', which is run when -the timer with ID `tooltip-timeout-id' fires. +the timer with id `tooltip-timeout-id' fires. Value is non-nil if this function handled the tip." (when (stringp tooltip-help-message) (tooltip-show tooltip-help-message tooltip-use-echo-area)