diff options
author | Vibhav Pant <vibhavp@gmail.com> | 2017-02-13 17:07:36 +0530 |
---|---|---|
committer | Vibhav Pant <vibhavp@gmail.com> | 2017-02-13 17:07:36 +0530 |
commit | cb410433e069b5bb450193353c3fea8593a643a9 (patch) | |
tree | d2f4269781b4841e5a0c27ec57a5a4fbcec386c0 /lisp/emacs-lisp/elint.el | |
parent | e742450427007cdde242c11380dfe32a950fab61 (diff) | |
parent | 4b18ef7ba3dd8aae4f3c3bf931365ef7da883baf (diff) | |
download | emacs-cb410433e069b5bb450193353c3fea8593a643a9.tar.gz emacs-cb410433e069b5bb450193353c3fea8593a643a9.tar.bz2 emacs-cb410433e069b5bb450193353c3fea8593a643a9.zip |
Merge branch 'master' into feature/byte-switch
Diffstat (limited to 'lisp/emacs-lisp/elint.el')
-rw-r--r-- | lisp/emacs-lisp/elint.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el index d68e49fa4b2..f5e10a24d37 100644 --- a/lisp/emacs-lisp/elint.el +++ b/lisp/emacs-lisp/elint.el @@ -372,7 +372,7 @@ Returns the forms." (let ((elint-current-pos (point))) ;; non-list check could be here too. errors may be out of seq. ;; quoted check cannot be elsewhere, since quotes skipped. - (if (looking-back "'" (1- (point))) + (if (= (preceding-char) ?\') ;; Eg cust-print.el uses ' as a comment syntax. (elint-warning "Skipping quoted form `%c%.20s...'" ?\' (read (current-buffer))) |