From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mohammed Sadik Newsgroups: gmane.emacs.devel Subject: Re: inhibit electric-pair-mode conditionally Date: Mon, 18 Apr 2016 21:32:15 +0530 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460995367 10021 80.91.229.3 (18 Apr 2016 16:02:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2016 16:02:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 18 18:02:37 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1asBdF-0003Vd-AZ for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2016 18:02:37 +0200 Original-Received: from localhost ([::1]:40317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBdE-0002q2-Pk for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2016 12:02:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBcz-0002m7-MF for emacs-devel@gnu.org; Mon, 18 Apr 2016 12:02:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asBcw-00059e-FQ for emacs-devel@gnu.org; Mon, 18 Apr 2016 12:02:21 -0400 Original-Received: from md-77.webhostbox.net ([199.79.62.63]:39635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBcw-00059X-Ar for emacs-devel@gnu.org; Mon, 18 Apr 2016 12:02:18 -0400 Original-Received: from mail-wm0-f51.google.com ([74.125.82.51]:35626) by md-77.webhostbox.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1asBcu-0026r1-HU for emacs-devel@gnu.org; Mon, 18 Apr 2016 16:02:16 +0000 Original-Received: by mail-wm0-f51.google.com with SMTP id a140so127060288wma.0 for ; Mon, 18 Apr 2016 09:02:16 -0700 (PDT) X-Gm-Message-State: AOPr4FULZcYfENt3kFY9YMQcWWqsSGfycT5gGlKy3tBdw0aabN5CQWYR4Y3BbOj/6S4Phx/XdNEFa4LVw53Bpw== X-Received: by 10.194.74.231 with SMTP id x7mr35492665wjv.60.1460995335877; Mon, 18 Apr 2016 09:02:15 -0700 (PDT) Original-Received: by 10.194.74.227 with HTTP; Mon, 18 Apr 2016 09:02:15 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: X-Authenticated_sender: sadiq@sadiqpk.org X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-77.webhostbox.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sadiqpk.org X-Get-Message-Sender-Via: md-77.webhostbox.net: authenticated_id: sadiq@sadiqpk.org X-Authenticated-Sender: md-77.webhostbox.net: sadiq@sadiqpk.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 199.79.62.63 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203053 Archived-At: On 4/18/16, Stefan Monnier wrote: >> Is there a way to disable electric-pair-mode conditionally? > > How 'bout > > electric-pair-inhibit-predicate is a variable defined in > =E2=80=98elec-pair.el=E2=80=99. > Its value is =E2=80=98electric-pair-default-inhibit=E2=80=99 > Thanks. Got it working.