aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play
diff options
context:
space:
mode:
authorJuanma Barranquero2019-10-17 02:45:06 +0200
committerJuanma Barranquero2019-10-17 02:45:06 +0200
commit3ad407005bf6560f4db40cab9dbeeabe554fb457 (patch)
tree220cc14a498e7586c8c330ac4766ab7c10b3d26b /lisp/play
parent2bb0703e24ec1b02bb2ab4be67719e2e050cc4d3 (diff)
downloademacs-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 'lisp/play')
-rw-r--r--lisp/play/doctor.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/doctor.el b/lisp/play/doctor.el
index b1ab6703a48..fbcdb5ebbe4 100644
--- a/lisp/play/doctor.el
+++ b/lisp/play/doctor.el
@@ -1023,7 +1023,7 @@ the subject noun, and return the portion of the sentence following it."
1023 nil)))) 1023 nil))))
1024 1024
1025(defun doctor-nounp (x) 1025(defun doctor-nounp (x)
1026 "Return t if the symbol argument is a noun." 1026 "Return non-nil if the symbol argument is a noun."
1027 (or (doctor-pronounp x) 1027 (or (doctor-pronounp x)
1028 (not (or (doctor-verbp x) 1028 (not (or (doctor-verbp x)
1029 (equal x 'not) 1029 (equal x 'not)
@@ -1031,7 +1031,7 @@ the subject noun, and return the portion of the sentence following it."
1031 (doctor-modifierp x) )) )) 1031 (doctor-modifierp x) )) ))
1032 1032
1033(defun doctor-pronounp (x) 1033(defun doctor-pronounp (x)
1034 "Return t if the symbol argument is a pronoun." 1034 "Return non-nil if the symbol argument is a pronoun."
1035 (memq x '( 1035 (memq x '(
1036 i me mine myself 1036 i me mine myself
1037 we us ours ourselves ourself 1037 we us ours ourselves ourself