* [PATCH 2/2] Set comment variables in ielm.
@ 2013-05-23 11:43 Rüdiger Sonderfeld
0 siblings, 0 replies; only message in thread
From: Rüdiger Sonderfeld @ 2013-05-23 11:43 UTC (permalink / raw)
To: emacs-devel
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-23 11:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 11:43 [PATCH 2/2] Set comment variables in ielm Rüdiger Sonderfeld
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).