From 1c82b9298a67f2637c69a8929866b74318e65b82 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 18 Nov 2008 16:12:56 +0000 Subject: Initial import. (Portage version: 2.2_rc14/cvs/Linux 2.6.26-gentoo-r1 i686) --- app-emacs/quilt-el/files/50quilt-el-gentoo.el | 10 ++++++++++ .../quilt-el/files/quilt-el-0.45.4-header-window.patch | 12 ++++++++++++ .../quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch | 13 +++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 app-emacs/quilt-el/files/50quilt-el-gentoo.el create mode 100644 app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch create mode 100644 app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch (limited to 'app-emacs') diff --git a/app-emacs/quilt-el/files/50quilt-el-gentoo.el b/app-emacs/quilt-el/files/50quilt-el-gentoo.el new file mode 100644 index 000000000000..fb02530844e3 --- /dev/null +++ b/app-emacs/quilt-el/files/50quilt-el-gentoo.el @@ -0,0 +1,10 @@ + +;;; quilt-el site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'quilt-mode "quilt" + "Toggle quilt-mode. With positive arg, enable quilt-mode." t) +(autoload 'quilt-hook "quilt" + "Enable quilt mode for quilt-controlled files.") +(add-hook 'find-file-hooks 'quilt-hook) +(add-hook 'after-revert-hook 'quilt-hook) diff --git a/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch b/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch new file mode 100644 index 000000000000..cf1f1f809bce --- /dev/null +++ b/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch @@ -0,0 +1,12 @@ +Index: quilt-el/quilt.el +=================================================================== +--- quilt-el.orig/quilt.el ++++ quilt-el/quilt.el +@@ -399,6 +399,7 @@ + (cd quilt-header-directory) + (shell-command (concat "EDITOR=cat quilt -r header <" tmp)) + (kill-buffer (current-buffer)) ++ (delete-window) + (delete-file tmp))) + + (defvar quilt-header-mode-map (make-keymap)) \ No newline at end of file diff --git a/app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch b/app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch new file mode 100644 index 000000000000..f4650c88dd15 --- /dev/null +++ b/app-emacs/quilt-el/files/quilt-el-0.45.4-tramp-recursion.patch @@ -0,0 +1,13 @@ +Index: quilt-el/quilt.el +=================================================================== +--- quilt-el.orig/quilt.el ++++ quilt-el/quilt.el +@@ -25,7 +25,7 @@ + + (defun quilt-find-dir (fn) + "find the top level dir for quilt from fn" +- (if (or (not fn) (equal fn "/")) ++ (if (or (not fn) (equal fn (file-name-directory fn))) + nil + (let ((d (file-name-directory fn))) + (if (file-accessible-directory-p (concat d "/.pc")) -- cgit v1.2.3-65-gdbad