summaryrefslogtreecommitdiff
path: root/elisp/geiser-base.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-06 00:47:05 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-06 00:47:05 +0100
commit038ed78d546d9d0112e9cdd568cc1a7bf11c7c81 (patch)
tree7197e57b6b8f1db7bde6b2d60d7b323b8085345b /elisp/geiser-base.el
parent267fde61250a698c1abc8201ca2445a6f462d03a (diff)
downloadgeiser-038ed78d546d9d0112e9cdd568cc1a7bf11c7c81.tar.gz
geiser-038ed78d546d9d0112e9cdd568cc1a7bf11c7c81.tar.bz2
New command to display generic methods (C-cC-dg) implemented.
Diffstat (limited to 'elisp/geiser-base.el')
-rw-r--r--elisp/geiser-base.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/elisp/geiser-base.el b/elisp/geiser-base.el
index 2a8d5a9..362930d 100644
--- a/elisp/geiser-base.el
+++ b/elisp/geiser-base.el
@@ -91,6 +91,12 @@
(let* ((str (buffer-substring-no-properties begin end))
(pieces (split-string str nil t)))
(mapconcat 'identity pieces " ")))))
+
+(defun geiser--insert-with-face (str face)
+ (let ((p (point)))
+ (insert str)
+ (put-text-property p (point) 'face face)))
+
(provide 'geiser-base)
;;; geiser-base.el ends here