diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/gtypist/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/gtypist/files')
-rw-r--r-- | app-misc/gtypist/files/50gtypist-gentoo.el | 6 | ||||
-rw-r--r-- | app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app-misc/gtypist/files/50gtypist-gentoo.el b/app-misc/gtypist/files/50gtypist-gentoo.el new file mode 100644 index 000000000000..8d888d4dcd87 --- /dev/null +++ b/app-misc/gtypist/files/50gtypist-gentoo.el @@ -0,0 +1,6 @@ + +;; gtypist site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'gtypist-mode "gtypist-mode" nil t) +(add-to-list 'auto-mode-alist '("\\.typ\\'" . gtypist-mode)) diff --git a/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch new file mode 100644 index 000000000000..166a82c48263 --- /dev/null +++ b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch @@ -0,0 +1,18 @@ +--- gtypist-2.8.3-orig/tools/gtypist-mode.el 2003-09-28 23:35:22.000000000 +0200 ++++ gtypist-2.8.3/tools/gtypist-mode.el 2007-04-21 14:49:16.000000000 +0200 +@@ -95,7 +95,14 @@ + + (require 'font-lock) + (require 'thingatpt) +-(require 'executable) ;; executable-find ++ ++(eval-and-compile ++ (cond ++ ((fboundp 'executable-find)) ++ ((fboundp 'locate-file) ++ (defun executable-find (command) ++ (locate-file command exec-path nil 'executable))) ++ (t (require 'executable)))) + + (defvar gtypist-mode-syntax-table nil "Syntax-table for gtypist-mode.") + (unless gtypist-mode-syntax-table |