X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/f92ac2e82ed199d6f25d2a59508e08addb1150ac..e4adb6cdf30706f28dada8aafd347549c84105ac:/lisp/elec-pair.el diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index db812c9e12..116292027c 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -1,6 +1,6 @@ ;;; elec-pair.el --- Automatic parenthesis pairing -*- lexical-binding:t -*- -;; Copyright (C) 2013-2015 Free Software Foundation, Inc. +;; Copyright (C) 2013-2016 Free Software Foundation, Inc. ;; Author: João Távora @@ -499,7 +499,7 @@ happened." (not (funcall electric-pair-inhibit-predicate last-command-event)))) (save-excursion (electric-pair--insert pair))))) - (t + (_ (when (and (if (functionp electric-pair-open-newline-between-pairs) (funcall electric-pair-open-newline-between-pairs) electric-pair-open-newline-between-pairs)