Commit 373ed135 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(find-function-noselect, find-function, find-variable-noselect, find-variable,

find-definition-noselect, find-face-definition): Use "non-nil" in docstrings.
parent c67c14f3
...@@ -264,7 +264,7 @@ not selected. If the function definition can't be found in ...@@ -264,7 +264,7 @@ not selected. If the function definition can't be found in
the buffer, returns (BUFFER). the buffer, returns (BUFFER).
If the file where FUNCTION is defined is not known, then it is If the file where FUNCTION is defined is not known, then it is
searched for in `find-function-source-path' if non nil, otherwise searched for in `find-function-source-path' if non-nil, otherwise
in `load-path'." in `load-path'."
(if (not function) (if (not function)
(error "You didn't specify a function")) (error "You didn't specify a function"))
...@@ -357,7 +357,7 @@ places point before the definition. ...@@ -357,7 +357,7 @@ places point before the definition.
Set mark before moving, if the buffer already existed. Set mark before moving, if the buffer already existed.
The library where FUNCTION is defined is searched for in The library where FUNCTION is defined is searched for in
`find-function-source-path', if non nil, otherwise in `load-path'. `find-function-source-path', if non-nil, otherwise in `load-path'.
See also `find-function-recenter-line' and `find-function-after-hook'." See also `find-function-recenter-line' and `find-function-after-hook'."
(interactive (find-function-read)) (interactive (find-function-read))
(find-function-do-it function nil 'switch-to-buffer)) (find-function-do-it function nil 'switch-to-buffer))
...@@ -387,7 +387,7 @@ the point of the definition. The buffer is not selected. ...@@ -387,7 +387,7 @@ the point of the definition. The buffer is not selected.
If the variable's definition can't be found in the buffer, return (BUFFER). If the variable's definition can't be found in the buffer, return (BUFFER).
The library where VARIABLE is defined is searched for in FILE or The library where VARIABLE is defined is searched for in FILE or
`find-function-source-path', if non nil, otherwise in `load-path'." `find-function-source-path', if non-nil, otherwise in `load-path'."
(if (not variable) (if (not variable)
(error "You didn't specify a variable") (error "You didn't specify a variable")
(let ((library (or file (let ((library (or file
...@@ -406,7 +406,7 @@ places point before the definition. ...@@ -406,7 +406,7 @@ places point before the definition.
Set mark before moving, if the buffer already existed. Set mark before moving, if the buffer already existed.
The library where VARIABLE is defined is searched for in The library where VARIABLE is defined is searched for in
`find-function-source-path', if non nil, otherwise in `load-path'. `find-function-source-path', if non-nil, otherwise in `load-path'.
See also `find-function-recenter-line' and `find-function-after-hook'." See also `find-function-recenter-line' and `find-function-after-hook'."
(interactive (find-function-read 'defvar)) (interactive (find-function-read 'defvar))
(find-function-do-it variable 'defvar 'switch-to-buffer)) (find-function-do-it variable 'defvar 'switch-to-buffer))
...@@ -436,7 +436,7 @@ variable, `defface' for a face. This function does not switch to the ...@@ -436,7 +436,7 @@ variable, `defface' for a face. This function does not switch to the
buffer nor display it. buffer nor display it.
The library where SYMBOL is defined is searched for in FILE or The library where SYMBOL is defined is searched for in FILE or
`find-function-source-path', if non nil, otherwise in `load-path'." `find-function-source-path', if non-nil, otherwise in `load-path'."
(cond (cond
((not symbol) ((not symbol)
(error "You didn't specify a symbol")) (error "You didn't specify a symbol"))
...@@ -461,7 +461,7 @@ places point before the definition. ...@@ -461,7 +461,7 @@ places point before the definition.
Set mark before moving, if the buffer already existed. Set mark before moving, if the buffer already existed.
The library where FACE is defined is searched for in The library where FACE is defined is searched for in
`find-function-source-path', if non nil, otherwise in `load-path'. `find-function-source-path', if non-nil, otherwise in `load-path'.
See also `find-function-recenter-line' and `find-function-after-hook'." See also `find-function-recenter-line' and `find-function-after-hook'."
(interactive (find-function-read 'defface)) (interactive (find-function-read 'defface))
(find-function-do-it face 'defface 'switch-to-buffer)) (find-function-do-it face 'defface 'switch-to-buffer))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment