diff options
| author | Juanma Barranquero | 2019-10-17 02:45:06 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2019-10-17 02:45:06 +0200 |
| commit | 3ad407005bf6560f4db40cab9dbeeabe554fb457 (patch) | |
| tree | 220cc14a498e7586c8c330ac4766ab7c10b3d26b /doc | |
| parent | 2bb0703e24ec1b02bb2ab4be67719e2e050cc4d3 (diff) | |
| download | emacs-3ad407005bf6560f4db40cab9dbeeabe554fb457.tar.gz emacs-3ad407005bf6560f4db40cab9dbeeabe554fb457.zip | |
lisp/*.el, src/*.c: Doc fixes related to returning t vs non-nil
* lisp/progmodes/flymake-proc.el (flymake-proc--find-buffer-for-file):
Doc fix; return value is a buffer, not t.
* lisp/progmodes/ebrowse.el (ebrowse-member-display-p):
Doc fix; return value is the MEMBER argument, not nil.
* lisp/files.el (hack-one-local-variable-eval-safep):
* lisp/play/doctor.el (doctor-nounp, doctor-pronounp):
* lisp/progmodes/flymake-proc.el (flymake-proc--check-include):
* lisp/progmodes/js.el (js--broken-arrow-terminates-line-p):
Doc fix; a non-nil return value is not always t.
* lisp/image.el (image-type-available-p):
* lisp/simple.el (region-active-p):
* lisp/window.el (frame-root-window-p):
* src/buffer.c (Fbuffer_live_p):
* src/image.c (Finit_image_library):
* src/window.c (Fwindow_minibuffer_p):
Doc fix; a non-nil return value is always t.
* doc/lispref/minibuf.texi (Minibuffer Windows): Doc fix.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/minibuf.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index a9d6e83cf85..dd51181db00 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -2364,8 +2364,8 @@ minibuffer window according to the selected frame. | |||
| 2364 | 2364 | ||
| 2365 | @c Emacs 19 feature | 2365 | @c Emacs 19 feature |
| 2366 | @defun window-minibuffer-p &optional window | 2366 | @defun window-minibuffer-p &optional window |
| 2367 | This function returns non-@code{nil} if @var{window} is a minibuffer | 2367 | This function returns @code{t} if @var{window} is a minibuffer window. |
| 2368 | window. @var{window} defaults to the selected window. | 2368 | @var{window} defaults to the selected window. |
| 2369 | @end defun | 2369 | @end defun |
| 2370 | 2370 | ||
| 2371 | The following function returns the window showing the currently active | 2371 | The following function returns the window showing the currently active |