* bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding function
@ 2010-06-18 0:33 Jose Marino
2010-06-19 2:31 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Jose Marino @ 2010-06-18 0:33 UTC (permalink / raw)
To: 6450
While using major mode idlwave I get an error every time I press one of
these keys: , > < =
For '=' I get:
call-interactively: Symbol's value as variable is void: idlwave-expand-equal
For ',' I get:
call-interactively: Symbol's value as variable is void: idlwave-surround
I located the error in file idlwave.el in function:
idlwave-action-and-binding.
The following patch (using code from idlwave-6.0) fixes the problem:
diff --git a/idlwave.el b/idlwave.el
index e622828..7544a5c 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -1598,10 +1598,12 @@ Capitalize system variables - action only
(equal select 'noaction)
(equal select 'both))
(define-key idlwave-mode-map key
- `(lambda ()
- (interactive)
- (self-insert-command 1)
- ,@(if (listp cmd) cmd (list cmd))))))
+ (append `(lambda ()
+ (interactive)
+ (self-insert-command 1))
+ (list (if (listp cmd)
+ cmd
+ (list cmd)))))))
;; Set action and key bindings.
;; See description of the function `idlwave-action-and-binding'.
Thanks,
Jose
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-19 2:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18 0:33 bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding function Jose Marino
2010-06-19 2:31 ` Glenn Morris
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.