[Pkg-octave-commit] [dynare] 02/08: emacs-use-autoload-magic-comment.patch: drop patch, applied upstream.

Sébastien Villemot sebastien at debian.org
Thu Oct 19 08:34:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository dynare.

commit 7b18b56549aeb01c39169522b5171245047d89fe
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Oct 19 10:08:21 2017 +0200

    emacs-use-autoload-magic-comment.patch: drop patch, applied upstream.
---
 .../patches/emacs-use-autoload-magic-comment.patch | 38 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 39 deletions(-)

diff --git a/debian/patches/emacs-use-autoload-magic-comment.patch b/debian/patches/emacs-use-autoload-magic-comment.patch
deleted file mode 100644
index 62531f0..0000000
--- a/debian/patches/emacs-use-autoload-magic-comment.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Description: Use magic comments for autoloads in Emacs mode file
- Also automatically trigger the mode for files with the .mod extension.
-Author: Sébastien Villemot <sebastien at debian.org>
-Applied-Upstream: https://github.com/DynareTeam/dynare/commit/2faf8bddbdab9269010f479d4be7febb86925787
-Last-Update: 2017-07-25
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/scripts/dynare.el
-+++ b/scripts/dynare.el
-@@ -28,8 +28,6 @@
- ;;   add this to your .emacs or site-init.el file:
- ;;
- ;;   (require 'dynare)
--;;   (autoload 'dynare-mode "dynare" "Enter dynare mode." t)
--;;   (setq auto-mode-alist (cons '("\\.mod\\'" . dynare-mode) auto-mode-alist))
- 
- ;;; Commentary:
- ;;
-@@ -107,7 +105,8 @@ For detail, see `comment-dwim'."
-     ("(\\(+\\|-\\)[1-9])" . font-lock-constant-face)
-     ))
- 
--;; define the major mode
-+;;; define the major mode
-+;;;###autoload
- (define-derived-mode dynare-mode fundamental-mode
-   "dynare mode"
-   "dynare is a mode for editing mod files used by dynare."
-@@ -149,5 +148,9 @@ For detail, see `comment-dwim'."
-   (setq dynare-functions-regexp nil)
-   )
- 
-+;;; mode trigger
-+;;;###autoload
-+(add-to-list 'auto-mode-alist '("\\.mod$" . dynare-mode))
-+
- (provide 'dynare)
- ;;; dynare.el ends here
diff --git a/debian/patches/series b/debian/patches/series
index 588b6d6..d400ad4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 extra-addpatch.patch
 hardcode-dynareroot.patch
-emacs-use-autoload-magic-comment.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/dynare.git



More information about the Pkg-octave-commit mailing list