From: Juanma Barranquero <lekktu@gmail.com>
Date: Wed, 9 May 2012 00:45:34 +0000 (+0200)
Subject: lisp/progmodes/idlw-shell.el: Cleanup after 2012-05-04T05:14:14Z!cyd@gnu.org.
X-Git-Tag: emacs-24.2.90~471^2~149
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4824146aa85b7e0cdfe9cab024d2137c98b85174;p=emacs.git

lisp/progmodes/idlw-shell.el: Cleanup after 2012-05-04T05:14:14Z!cyd@gnu.org.
(specs): Remove reference to deleted variable
`idlwave-shell-activate-alt-keybindings' and simplify.
---

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ed74bd452fd..30e5ac3c7eb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
 
+	* progmodes/idlw-shell.el (specs): Remove reference to deleted
+	variable `idlwave-shell-activate-alt-keybindings' and simplify.
+
 	* eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
 
 2012-05-08  Glenn Morris  <rgm@gnu.org>
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index ca51eef6e8e..da8f30bab43 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -4183,12 +4183,8 @@ Otherwise, just expand the file name."
 	  ([(        ?[)]   ?[   idlwave-shell-goto-previous-bp t t)
 	  ([(        ?])]   ?]   idlwave-shell-goto-next-bp t t)
 	  ([(control ?f)]   ?f   idlwave-shell-window)))
-       (mod (cond ((and idlwave-shell-debug-modifiers
-			(listp idlwave-shell-debug-modifiers)
-			(not (equal '() idlwave-shell-debug-modifiers)))
-		   idlwave-shell-debug-modifiers)
-		  (idlwave-shell-activate-alt-keybindings
-		   '(alt))))
+       (mod (and (listp idlwave-shell-debug-modifiers)
+		 idlwave-shell-debug-modifiers))
        (shift (memq 'shift mod))
        (mod-noshift (delete 'shift (copy-sequence mod)))
        s k1 c2 k2 cmd electric only-buffer cannotshift)