Skip to content

Compiler warnings, nothing critical #1215

@sjLambda

Description

@sjLambda

Several compiler warnings, I can't tell if any functionality was affected. Just FYI.

In smartparens-mode:
smartparens.el:746:11: Warning: reference to free variable ‘smartparens-strict-mode’
smartparens.el:1589:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:1595:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’

In sp-syntax-after-is-prefix:
smartparens.el:1954:26: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp-syntax-after-is-word-or-symbol:
smartparens.el:1968:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-syntax-before-is-word-or-symbol:
smartparens.el:1979:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-point-in-comment:
smartparens.el:2025:39: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:2027:39: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:2029:39: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:2031:39: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp--get-active-overlay:
smartparens.el:2941:22: Warning: value from call to ‘<’ is unused

In sp--reset-memoization:
smartparens.el:3023:37: Warning: Unused lexical argument ‘ignored’

In sp--strict-regexp-opt:
smartparens.el:3518:49: Warning: Unused lexical argument ‘ignored’

In sp--all-pairs-to-insert:
smartparens.el:3937:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-get-comment-bounds:
smartparens.el:4609:43: Warning: avoid ‘lsh’; use ‘ash’ instead
smartparens.el:4612:43: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp-get-expression:
smartparens.el:5162:10: Warning: Unused lexical variable ‘paired-delim’

In sp--skip-to-symbol-1:
smartparens.el:7775:10: Warning: Unused lexical variable ‘next-char-fn’

In sp-backward-symbol:
smartparens.el:8004:40: Warning: avoid ‘lsh’; use ‘ash’ instead

In sp-change-enclosing:
smartparens.el:8155:2: Warning: docstring has wrong usage of unescaped single quotes (use =' or different quoting such as `...')

In sp-newline:
smartparens.el:9547:34: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
smartparens.el:9948:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:9951:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:9957:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’
smartparens.el:9966:2: Warning: ‘defadvice’ is an obsolete macro (as of 30.1); use ‘advice-add’ or ‘define-advice’

  • smartparens version: 1.11.0
  • Active major-mode: emacs-lisp-compilation-mode
  • Smartparens strict mode: nil
  • Emacs version (M-x emacs-version): GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0)
  • Starterkit/Distribution: Vanilla
  • OS: gnu/linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions