From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: [PATCH 2/2] Set comment variables in ielm. Date: Thu, 23 May 2013 13:43:02 +0200 Message-ID: <1526058.j9ZyTANtHa@descartes> 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 1369309411 7523 80.91.229.3 (23 May 2013 11:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 May 2013 11:43:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 23 13:43:32 2013 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 1UfTvf-0006vD-EO for ged-emacs-devel@m.gmane.org; Thu, 23 May 2013 13:43:31 +0200 Original-Received: from localhost ([::1]:39026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfTvf-0003kT-3s for ged-emacs-devel@m.gmane.org; Thu, 23 May 2013 07:43:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfTvO-0003dI-Mr for emacs-devel@gnu.org; Thu, 23 May 2013 07:43:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfTvF-0005X8-Q0 for emacs-devel@gnu.org; Thu, 23 May 2013 07:43:14 -0400 Original-Received: from ptmx.org ([178.63.28.110]:36358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfTvF-0005Wv-JC for emacs-devel@gnu.org; Thu, 23 May 2013 07:43:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id E99002A369; Thu, 23 May 2013 13:43:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZuNB5-YSiMci; Thu, 23 May 2013 13:43:03 +0200 (CEST) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 84FED2A2A2; Thu, 23 May 2013 13:43:03 +0200 (CEST) User-Agent: KMail/4.10.2 (Linux/3.8.0-19-generic; KDE/4.10.2; x86_64; ; ) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159741 Archived-At: This allows the use of `hs-minor-mode'. * lisp/ielm.el: Set `comment-start' and `comment-use-global-state' variables in ielm-mode. Signed-off-by: R=C3=BCdiger Sonderfeld --- lisp/ielm.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ielm.el b/lisp/ielm.el index e63c11d..bc16f4b 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -507,6 +507,8 @@ Customized bindings may be defined in `ielm-map', w= hich currently contains: (setq comint-get-old-input 'ielm-get-old-input) (set (make-local-variable 'comint-completion-addsuffix) '("/" . ""))= (setq mode-line-process '(":%s on " (:eval (buffer-name ielm-working= -buffer)))) + (set (make-local-variable 'comment-start) ";") + (set (make-local-variable 'comment-use-global-state) t) =20 (set (make-local-variable 'indent-line-function) 'ielm-indent-line) (set (make-local-variable 'ielm-working-buffer) (current-buffer)) --=20 1.8.2.3