X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d1d6801eb4badab97416d0b6294e1920d0f90c3e..672b871d9838335ac12faaf62793a811f1269a66:/lisp/generic-x.el diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 8c2e8b4bc9..b0ef043940 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -1,7 +1,6 @@ ;;; generic-x.el --- A collection of generic modes -;; Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, -;; 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1997-1998, 2001-2011 Free Software Foundation, Inc. ;; Author: Peter Breton ;; Created: Tue Oct 08 1996 @@ -230,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 @@ -371,6 +371,15 @@ 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.")) + ;;; Hosts (when (memq 'hosts-generic-mode generic-extras-enable-list) @@ -534,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))))) @@ -1427,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" @@ -1437,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" @@ -1696,6 +1705,7 @@ like an INI file. You can add this hook to `find-file-hook'." "efs" "ext2" "ext3" + "ext4" "hfs" "hpfs" "iso9660" @@ -1713,6 +1723,7 @@ like an INI file. You can add this hook to `find-file-hook'." "cifs" "usbdevfs" "sysv" + "sysfs" "tmpfs" "udf" "ufs" @@ -1992,5 +2003,4 @@ like an INI file. You can add this hook to `find-file-hook'." (provide 'generic-x) -;; arch-tag: cde692a5-9ff6-4506-9999-c67999c2bdb5 ;;; generic-x.el ends here