summaryrefslogtreecommitdiff
path: root/lisp/progmodes/sql.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2017-01-29 19:34:35 +0100
committerJuanma Barranquero <lekktu@gmail.com>2017-01-29 19:34:35 +0100
commit2f90bbb5febd44bc9ff8dbff9267f535f907c307 (patch)
treedd2b69ffaa8046b54172537f6330e100bc6fb413 /lisp/progmodes/sql.el
parent9bf94639b8f674d2c7894df35f26f09d0ecc67f5 (diff)
downloademacs-2f90bbb5febd44bc9ff8dbff9267f535f907c307.tar.gz
lisp/*.el: Fix some warnings
* lisp/battery.el (dbus-get-property): * lisp/dired-aux.el (format-spec): Declare function. * lisp/net/zeroconf.el (zeroconf-list-service-names) (zeroconf-list-service-types, zeroconf-list-services): Mark unused lexical arg. * lisp/progmodes/hideshow.el (hs-hide-block-at-point): * lisp/progmodes/sql.el (sql-end-of-statement): Pass LIMIT to 'looking-back'.
Diffstat (limited to 'lisp/progmodes/sql.el')
-rw-r--r--lisp/progmodes/sql.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 71563486ecd..88683431290 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -2790,7 +2790,7 @@ local variable."
;; Iterate until we've moved the desired number of stmt ends
(while (not (= (cl-signum arg) 0))
;; if we're looking at the terminator, jump by 2
- (if (or (and (> 0 arg) (looking-back term))
+ (if (or (and (> 0 arg) (looking-back term nil))
(and (< 0 arg) (looking-at term)))
(setq n 2)
(setq n 1))