diff options
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r-- | lisp/generic-x.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 3c6622f6b16..bce03331a29 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -229,7 +229,8 @@ This hook will be installed if the variable 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 @@ -370,13 +371,14 @@ your changes into effect." 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) |