ulm         14/12/12 23:47:03

  Added:                css-mode-0.11-no-compat-kbd.patch
  Log:
  Fix runtime problem with Emacs 24.4, bug 532358.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
9433907D693FB5B8!)

Revision  Changes    Path
1.1                  app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch?rev=1.1&content-type=text/plain

Index: css-mode-0.11-no-compat-kbd.patch
===================================================================
Function "apropos-macrop" apparently no longer exists in Emacs 24.4.
Simply remove the code using it, since it was only needed for backwards
compatibility with Emacs 19 (the "kbd" macro appeared in Emacs 20.1).
https://bugs.gentoo.org/532358

--- css-mode-0.11-orig/css-mode.el
+++ css-mode-0.11/css-mode.el
@@ -166,16 +166,6 @@
   (define-key cssm-mode-map (read-kbd-macro "}") 
'cssm-insert-right-brace-and-indent)
   (define-key cssm-mode-map (read-kbd-macro "M-TAB") 'cssm-complete-property))
 
-;;; Cross-version compatibility layer
-
-(when (not (or (apropos-macrop 'kbd)
-            (fboundp 'kbd)))
-    (defmacro kbd (keys)
-      "Convert KEYS to the internal Emacs key representation.
-KEYS should be a string constant in the format used for
-saving keyboard macros (see `insert-kbd-macro')."
-      (read-kbd-macro keys)))
-
 ;;; Auto-indentation support
 
 ; internal




Reply via email to