[Pkg-emacsen-addons] Bug#944249: [PATCH 11/12] debian/debian-autoloads.el: Handle auto-mode-alist stuff the elpa way.
Nicholas D Steeves
nsteeves at gmail.com
Sat Nov 23 03:31:14 GMT 2019
From: Agustin Martin Domingo <agmartin at debian.org>
Signed-off-by: Nicholas D Steeves <nsteeves at gmail.com>
---
debian/changelog | 1 +
debian/debian-autoloads.el | 2 ++
debian/elpa-gnuplot.elpa | 1 +
3 files changed, 4 insertions(+)
create mode 100644 debian/debian-autoloads.el
diff --git a/debian/changelog b/debian/changelog
index 9b7a8f1..6faca2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ gnuplot-mode (1:0.7.0-2014-12-31-2) UNRELEASED; urgency=medium
* debian/install: Remove. No longer needed.
* debian/control: Build depend on gnuplot, to allow tests being actually
passed.
+ * debian/debian-autoloads.el: Handle auto-mode-alist stuff the elpa way.
[ Nicholas D Steeves ]
* Rename bin:elpa-gnuplot-mode to bin:elpa-gnuplot for correctness and
diff --git a/debian/debian-autoloads.el b/debian/debian-autoloads.el
new file mode 100644
index 0000000..e2c1d6d
--- /dev/null
+++ b/debian/debian-autoloads.el
@@ -0,0 +1,2 @@
+;;;###autoload
+(setq auto-mode-alist (append '(("\\.gp\\'" . gnuplot-mode)) auto-mode-alist))
diff --git a/debian/elpa-gnuplot.elpa b/debian/elpa-gnuplot.elpa
index b05242e..3e8bd13 100644
--- a/debian/elpa-gnuplot.elpa
+++ b/debian/elpa-gnuplot.elpa
@@ -4,3 +4,4 @@ gnuplot.el
gnuplot-gui.el
gnuplot-test-context.el
gnuplot-tests.el
+debian/debian-autoloads.el
--
2.20.1
More information about the Pkg-emacsen-addons
mailing list