[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding fu
From: |
Jose Marino |
Subject: |
bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding function |
Date: |
Thu, 17 Jun 2010 20:33:38 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 |
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
- bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding function,
Jose Marino <=