summaryrefslogtreecommitdiff
path: root/elisp/geiser-edit.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-02-03 01:02:26 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-02-03 01:02:26 +0100
commitf2ca54c25fc6e8cc4a90ddbe2513e774b1b2b2f3 (patch)
treedbf624e3bc881017e7f313bc0f0d74224fad7ca5 /elisp/geiser-edit.el
parent43dd4894285c2b2aff6bcc17ac9b2bf8f3868702 (diff)
downloadgeiser-guile-f2ca54c25fc6e8cc4a90ddbe2513e774b1b2b2f3.tar.gz
geiser-guile-f2ca54c25fc6e8cc4a90ddbe2513e774b1b2b2f3.tar.bz2
More robust lambda and keybinding to C-c \
Since C-\ is a standard Emacs binding, and people know how to change it anyway. I've also put the command in the menu for Geiser mode, for discoverability. A pleasant surprise: greek lambdas are understood by both Racket and Guile.
Diffstat (limited to 'elisp/geiser-edit.el')
-rw-r--r--elisp/geiser-edit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index 874c9fc..9735bd2 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -1,6 +1,6 @@
;;; geiser-edit.el -- scheme edit locations
-;; Copyright (C) 2009, 2010, 2012 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2012, 2013 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -240,7 +240,7 @@ With prefix, asks for the symbol to edit."
(defun geiser-edit-insert-lambda ()
"Insert λ at point."
(interactive)
- (insert-char ?λ 1))
+ (insert-char (make-char 'greek-iso8859-7 107) 1))