Doesn't work in emacs 24.3+

Bug #1363449 reported by Marco Righele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
squirrel-mode
New
Undecided
Unassigned

Bug Description

This mode uses the variable 'last-command-char' which was obsoleted in Emacs 19.34 and has been removed since Emacs 24.3
(see http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00653.html).

The solution is to substitute it with last-command-event:

--- squirrel-mode.el.orig 2014-08-30 17:26:09.738799965 +0200
+++ squirrel-mode.el 2014-08-30 17:28:09.410801845 +0200
@@ -50,7 +50,7 @@

 (defun squirrel-electric-brace (arg)
   (interactive "P")
- (insert-char last-command-char 1)
+ (insert-char last-command-event 1)
   (squirrel-indent-line)
   (if (looking-back "^\\s *")
       (forward-char)

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.