diff options
| author | Juanma Barranquero | 2006-11-03 15:09:49 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-03 15:09:49 +0000 |
| commit | 373ed135780a1029d7d4bdf5211095c2dbf47bcf (patch) | |
| tree | ce87b21db232117fa8c77acdc3faf93d66dd21ac | |
| parent | c67c14f32edf8331ab81fc96ec437d1af75d4dc2 (diff) | |
| download | emacs-373ed135780a1029d7d4bdf5211095c2dbf47bcf.tar.gz emacs-373ed135780a1029d7d4bdf5211095c2dbf47bcf.zip | |
(find-function-noselect, find-function, find-variable-noselect, find-variable,
find-definition-noselect, find-face-definition): Use "non-nil" in docstrings.
| -rw-r--r-- | lisp/emacs-lisp/find-func.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index 42c5d3183e7..10a052dc97e 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el | |||
| @@ -264,7 +264,7 @@ not selected. If the function definition can't be found in | |||
| 264 | the buffer, returns (BUFFER). | 264 | the buffer, returns (BUFFER). |
| 265 | 265 | ||
| 266 | If the file where FUNCTION is defined is not known, then it is | 266 | If the file where FUNCTION is defined is not known, then it is |
| 267 | searched for in `find-function-source-path' if non nil, otherwise | 267 | searched for in `find-function-source-path' if non-nil, otherwise |
| 268 | in `load-path'." | 268 | in `load-path'." |
| 269 | (if (not function) | 269 | (if (not function) |
| 270 | (error "You didn't specify a function")) | 270 | (error "You didn't specify a function")) |
| @@ -357,7 +357,7 @@ places point before the definition. | |||
| 357 | Set mark before moving, if the buffer already existed. | 357 | Set mark before moving, if the buffer already existed. |
| 358 | 358 | ||
| 359 | The library where FUNCTION is defined is searched for in | 359 | The library where FUNCTION is defined is searched for in |
| 360 | `find-function-source-path', if non nil, otherwise in `load-path'. | 360 | `find-function-source-path', if non-nil, otherwise in `load-path'. |
| 361 | See also `find-function-recenter-line' and `find-function-after-hook'." | 361 | See also `find-function-recenter-line' and `find-function-after-hook'." |
| 362 | (interactive (find-function-read)) | 362 | (interactive (find-function-read)) |
| 363 | (find-function-do-it function nil 'switch-to-buffer)) | 363 | (find-function-do-it function nil 'switch-to-buffer)) |
| @@ -387,7 +387,7 @@ the point of the definition. The buffer is not selected. | |||
| 387 | If the variable's definition can't be found in the buffer, return (BUFFER). | 387 | If the variable's definition can't be found in the buffer, return (BUFFER). |
| 388 | 388 | ||
| 389 | The library where VARIABLE is defined is searched for in FILE or | 389 | The library where VARIABLE is defined is searched for in FILE or |
| 390 | `find-function-source-path', if non nil, otherwise in `load-path'." | 390 | `find-function-source-path', if non-nil, otherwise in `load-path'." |
| 391 | (if (not variable) | 391 | (if (not variable) |
| 392 | (error "You didn't specify a variable") | 392 | (error "You didn't specify a variable") |
| 393 | (let ((library (or file | 393 | (let ((library (or file |
| @@ -406,7 +406,7 @@ places point before the definition. | |||
| 406 | Set mark before moving, if the buffer already existed. | 406 | Set mark before moving, if the buffer already existed. |
| 407 | 407 | ||
| 408 | The library where VARIABLE is defined is searched for in | 408 | The library where VARIABLE is defined is searched for in |
| 409 | `find-function-source-path', if non nil, otherwise in `load-path'. | 409 | `find-function-source-path', if non-nil, otherwise in `load-path'. |
| 410 | See also `find-function-recenter-line' and `find-function-after-hook'." | 410 | See also `find-function-recenter-line' and `find-function-after-hook'." |
| 411 | (interactive (find-function-read 'defvar)) | 411 | (interactive (find-function-read 'defvar)) |
| 412 | (find-function-do-it variable 'defvar 'switch-to-buffer)) | 412 | (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 | buffer nor display it. | 436 | buffer nor display it. |
| 437 | 437 | ||
| 438 | The library where SYMBOL is defined is searched for in FILE or | 438 | The library where SYMBOL is defined is searched for in FILE or |
| 439 | `find-function-source-path', if non nil, otherwise in `load-path'." | 439 | `find-function-source-path', if non-nil, otherwise in `load-path'." |
| 440 | (cond | 440 | (cond |
| 441 | ((not symbol) | 441 | ((not symbol) |
| 442 | (error "You didn't specify a symbol")) | 442 | (error "You didn't specify a symbol")) |
| @@ -461,7 +461,7 @@ places point before the definition. | |||
| 461 | Set mark before moving, if the buffer already existed. | 461 | Set mark before moving, if the buffer already existed. |
| 462 | 462 | ||
| 463 | The library where FACE is defined is searched for in | 463 | The library where FACE is defined is searched for in |
| 464 | `find-function-source-path', if non nil, otherwise in `load-path'. | 464 | `find-function-source-path', if non-nil, otherwise in `load-path'. |
| 465 | See also `find-function-recenter-line' and `find-function-after-hook'." | 465 | See also `find-function-recenter-line' and `find-function-after-hook'." |
| 466 | (interactive (find-function-read 'defface)) | 466 | (interactive (find-function-read 'defface)) |
| 467 | (find-function-do-it face 'defface 'switch-to-buffer)) | 467 | (find-function-do-it face 'defface 'switch-to-buffer)) |