X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ef6302ff1a95fbb86a575d3124717ae2557181e5..e4adb6cdf30706f28dada8aafd347549c84105ac:/lisp/elec-pair.el?ds=sidebyside 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)