+2011-03-06 Glenn Morris <rgm@gnu.org>
+
+ * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
+ (xmodmap-generic-mode): Respect generic-extras-enable-list.
+
2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
* generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
prototype-generic-mode
resolve-conf-generic-mode
samba-generic-mode
- x-resource-generic-mode)
+ x-resource-generic-mode
+ xmodmap-generic-mode)
"List of generic modes that are defined by default on Unix.")
(defconst generic-other-modes
nil
"Generic mode for X Resource configuration files."))
+(if (memq 'xmodmap-generic-mode generic-extras-enable-list)
(define-generic-mode xmodmap-generic-mode
'(?!)
'("add" "clear" "keycode" "keysym" "remove" "pointer")
nil
'("[xX]modmap\\(rc\\)?\\'")
nil
- "Simple mode for xmodmap files.")
+ "Simple mode for xmodmap files."))
;;; Hosts
(when (memq 'hosts-generic-mode generic-extras-enable-list)