Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Commits on Oct 22, 2014
Commits on Oct 2, 2014
  1. Update

Commits on Sep 25, 2014
  1. Update

  2. Tweak README

Commits on Sep 9, 2014
  1. Merge pull request #44 from ramnes/master

    Ignore byte-compiled files
  2. @ramnes

    Ignore byte-compiled files

    ramnes authored
Commits on Aug 25, 2014
  1. Closes #43: Don't get confused by "expression prefix" syntax

    * autopair-tests.el (issue-43-confusion-in-emacs-lisp-mode): New test.
    * autopair.el (autopair--forward-sexp): New function. Skips over
    "'" syntax.
    (autopair--find-pair): Use `autopair--forward-sexp'. Use
Commits on Mar 11, 2014
  1. Closes #38: decide faster in large files with many quotes

    * autopair.el (autopair-insert-or-skip-quote): Simplify.
    (autopair--in-unterminated-string-p): Also look for cases where
    we're inside an unterminated string started by a generic string
Commits on Dec 6, 2013
  1. Refactor: simplify `autopair--up-list`, refactor, add some doc

    - Also rename `autopair--find-pair` to `autopair--pair-of`
    - `autopair--find-pair` is now a helper for `autopair--up-list`
  2. Closes #35: redesign to make compatible with (slightly) older emacsen…

    … again
    - remove unneeded hack for `global-hl-line-mode` compatibility
    - fix indentation and other cosmetic fixes
    - internal symbols are now prefixed "autopair--"
    - remove byte-compilation warnings about cl-functions
Commits on Dec 5, 2013
  1. Closes #34: redesigned `autopair-up-list', `autopair-pair-p` and `aut…

    - All existing tests pass.
    - Respecified one test: autopairing at the beginning of "(])" should happen as it reduces unbalance.
    - Now relies purely on `forward-sexp` functions (no more `scan-sexps`),
    - Should work with such functions defined with SMIE.
    - Leverages paren.el's show-paren-data-function to find matching delimiter
    - Probably only works on recent emacsen (24.3 onwards).
    More refactorings possible, namely narrowing buffer to the
    string/comment when inside such constructs.
Commits on Nov 1, 2013
Commits on Oct 9, 2013
  1. Closes #22, and possibly #28: handle args-out-of-range in autopair-pa…

    Also use the `scan-error` subtype in many `condition-case` clauses.
Commits on Oct 7, 2013
  1. fix: bring back essential `autopair-skip-criteria`

    Joao Tavora authored
Commits on Oct 6, 2013
Commits on Oct 5, 2013
  1. Merge pull request #25 from DarwinAwardWinner/defcustom

    Add defcustom declarations
  2. @DarwinAwardWinner
Commits on Feb 3, 2013
  1. Merge pull request #13 from ptpt/master

    Make sure `define-minor-mode` comes before `define-globalized-minor-mode`
Commits on Nov 23, 2012
Commits on Nov 21, 2012
  1. Merge pull request #12 from purcell/master

    Fix some byte-compilation warnings
Commits on Nov 20, 2012
  1. @purcell

    Fix some byte-compilation warnings

    purcell authored
    This commit fixes the following warnings:
        autopair.el:182:1:Warning: cl package required at runtime
        autopair.el:204:34:Warning: `make-variable-buffer-local' should be called at
        In autopair-pair-p:
        autopair.el:841:23:Warning: autopair-escaped-p called with 0 arguments, but
            requires 1
Commits on Sep 21, 2012
  1. Fix: Typo in

Commits on Aug 20, 2012
Commits on Aug 18, 2012
  1. Merge pull request #5 from dsedivec/master

    Enhancement: add autoload cookies
  2. @dsedivec

    Add autoload cookies

    dsedivec authored
Commits on Aug 16, 2012
  1. Closes #3: in `autopair-insert-or-skip-quote`, handle errors without …

    …position info.
    Not all errors produced `up-list` have the needed `fourth` position arg,
    especially when `forward-sexp-function` is used, as is the case of
    `nxml-forward-balanced-item`. In those cases, the best we can do is ignore it.
    There might be a lot more situations like these, since autopair sometimes
    heavily relies on the position info bundled with syntactic movement errors.
Commits on Jul 22, 2012
Commits on Jul 8, 2012
  1. some new tests

Commits on Jul 3, 2012
  1. cleaup: whitespace

  2. debug: some helper code

Something went wrong with that request. Please try again.