X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/ffd0a50215b0e189b2a84913fbec2fa3c4419a8d..672b871d9838335ac12faaf62793a811f1269a66:/lisp/generic-x.el diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 3c6622f6b1..b0ef043940 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) @@ -541,7 +543,7 @@ like an INI file. You can add this hook to `find-file-hook'." (interactive) (let ((compilation-buffer-name-function (function - (lambda(ign) + (lambda (_ign) (concat "*" (buffer-file-name) "*"))))) (compile (concat (w32-shell-name) " -c " (buffer-file-name))))) @@ -1434,7 +1436,7 @@ like an INI file. You can add this hook to `find-file-hook'." "REGDB_APPPATH" "REGDB_BINARY" "REGDB_ERR_CONNECTIONEXISTS" - "REGDB_ERR_CORRUPTEDREGSITRY" + "REGDB_ERR_CORRUPTEDREGISTRY" "REGDB_ERR_INITIALIZATION" "REGDB_ERR_INVALIDHANDLE" "REGDB_ERR_INVALIDNAME" @@ -1444,7 +1446,7 @@ like an INI file. You can add this hook to `find-file-hook'." "REGDB_STRING" "REGDB_UNINSTALL_NAME" "REMOTE_DRIVE" - "REMOVALE_DRIVE" + "REMOVEABLE_DRIVE" "REPLACE_ITEM" "REPLACE" "RESET" @@ -1703,6 +1705,7 @@ like an INI file. You can add this hook to `find-file-hook'." "efs" "ext2" "ext3" + "ext4" "hfs" "hpfs" "iso9660" @@ -1720,6 +1723,7 @@ like an INI file. You can add this hook to `find-file-hook'." "cifs" "usbdevfs" "sysv" + "sysfs" "tmpfs" "udf" "ufs"