From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: emacs-devel@gnu.org
Subject: [PATCH 2/2] Set comment variables in ielm.
Date: Thu, 23 May 2013 13:43:02 +0200 [thread overview]
Message-ID: <1526058.j9ZyTANtHa@descartes> (raw)
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üdiger Sonderfeld <ruediger@c-plusplus.de>
---
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', which 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)
(set (make-local-variable 'indent-line-function) 'ielm-indent-line)
(set (make-local-variable 'ielm-working-buffer) (current-buffer))
--
1.8.2.3
reply other threads:[~2013-05-23 11:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1526058.j9ZyTANtHa@descartes \
--to=ruediger@c-plusplus.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.