aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJuanma Barranquero2019-10-17 02:08:43 +0200
committerJuanma Barranquero2019-10-17 02:08:43 +0200
commit2bb0703e24ec1b02bb2ab4be67719e2e050cc4d3 (patch)
tree77a076491e0635e2728393ac79c87f925e4a935e /lisp/progmodes
parentd502f0c4b5bf0d6dbf0a125b01db21fa3b6292df (diff)
downloademacs-2bb0703e24ec1b02bb2ab4be67719e2e050cc4d3.tar.gz
emacs-2bb0703e24ec1b02bb2ab4be67719e2e050cc4d3.zip
lisp/*.el: Force non-nil result to t, to match docstring
* lisp/emacs-lock.el (emacs-lock-live-process-p): * lisp/shadowfile.el (shadow-file-match): * lisp/emacs-lisp/edebug.el (edebug-basic-spec): * lisp/mail/rmail.el (rmail-expunge-confirmed): * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element): * lisp/progmodes/idlwave.el (idlwave-quoted): * lisp/progmodes/idlw-shell.el (idlwave-shell-filename-string): * lisp/textmodes/refbib.el (r2b-isa-proceedings): * lisp/textmodes/texnfo-upd.el (texinfo-find-lower-level-node): Normalize boolean result.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/idlw-shell.el2
-rw-r--r--lisp/progmodes/idlwave.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index dde51b355e5..3367454c1cc 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -2155,7 +2155,7 @@ args of an executive .run, .rnew or .compile."
2155 ;; Skip backwards over file name chars 2155 ;; Skip backwards over file name chars
2156 (skip-chars-backward idlwave-shell-file-name-chars limit) 2156 (skip-chars-backward idlwave-shell-file-name-chars limit)
2157 ;; Check of the next char is a string delimiter 2157 ;; Check of the next char is a string delimiter
2158 (memq (preceding-char) '(?\' ?\"))))) 2158 (and (memq (preceding-char) '(?\' ?\")) t))))
2159 2159
2160(defun idlwave-shell-batch-command () 2160(defun idlwave-shell-batch-command ()
2161 "Return t if we're in a batch command statement like @foo" 2161 "Return t if we're in a batch command statement like @foo"
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 3535a7b4aa3..9c46ac84e22 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -3629,7 +3629,7 @@ Calling from a program, arguments are START END."
3629(defun idlwave-quoted () 3629(defun idlwave-quoted ()
3630 "Return t if point is in a comment or quoted string. 3630 "Return t if point is in a comment or quoted string.
3631Returns nil otherwise." 3631Returns nil otherwise."
3632 (or (idlwave-in-comment) (idlwave-in-quote))) 3632 (and (or (idlwave-in-comment) (idlwave-in-quote)) t))
3633 3633
3634(defun idlwave-in-quote () 3634(defun idlwave-in-quote ()
3635 "Return location of the opening quote 3635 "Return location of the opening quote