From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jrwats Newsgroups: gmane.emacs.help Subject: equivalent of make-local-variable for defun? Date: Mon, 3 Nov 2008 08:18:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <1d3363bf-4c06-4424-832a-5abe06f560a0@z6g2000pre.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225730760 11530 80.91.229.12 (3 Nov 2008 16:46:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 16:46:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 17:47:00 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kx2Zo-0000tO-JX for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 17:46:52 +0100 Original-Received: from localhost ([127.0.0.1]:50841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx2Yh-00082y-Q6 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 11:45:43 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z6g2000pre.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 7 Original-NNTP-Posting-Host: 24.18.202.1 Original-X-Trace: posting.google.com 1225729097 7091 127.0.0.1 (3 Nov 2008 16:18:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 3 Nov 2008 16:18:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z6g2000pre.googlegroups.com; posting-host=24.18.202.1; posting-account=bFjqRgoAAAA1g2eFs8HouoaeO5EHoWR2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164051 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59393 Archived-At: I'm trying to fix a mode using comint for an inferior lisp that apparently needs to overwrite comint-send-region. I'd rather it not overwrite ALL buffers' (including my shell-mode buffer) comint-send- region function. Is there a way to define a function but local to the current buffer as when you define a local variable in make-local-variable?