]> git.hoellein.online Git - zenbook/commitdiff
committing changes in /etc after apt run
authorroot <root@localhost>
Tue, 28 Aug 2018 11:33:30 +0000 (13:33 +0200)
committerroot <root@localhost>
Tue, 28 Aug 2018 11:33:30 +0000 (13:33 +0200)
Package changes:
+cmake 3.10.2-1ubuntu2 amd64
+cmake-data 3.10.2-1ubuntu2 all
+libjsoncpp1 1.7.4-3 amd64
+librhash0 1.3.6-2 amd64

.etckeeper
emacs/site-start.d/50cmake-data.el [new file with mode: 0644]

index e7c1d2601ce248b92c27665a399e1f747a2ebea7..6df83913c757a710f2cecea4645debe9383777c7 100755 (executable)
@@ -1326,6 +1326,7 @@ maybe chmod 0755 'emacs'
 maybe chmod 0755 'emacs/site-start.d'
 maybe chmod 0644 'emacs/site-start.d/00debian-vars.el'
 maybe chmod 0644 'emacs/site-start.d/50autoconf.el'
+maybe chmod 0644 'emacs/site-start.d/50cmake-data.el'
 maybe chmod 0644 'emacs/site-start.d/50dictionaries-common.el'
 maybe chmod 0644 'emacs/site-start.el'
 maybe chmod 0644 'environment'
diff --git a/emacs/site-start.d/50cmake-data.el b/emacs/site-start.d/50cmake-data.el
new file mode 100644 (file)
index 0000000..96fa7ba
--- /dev/null
@@ -0,0 +1,15 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux cmake package
+
+(if (file-exists-p "/usr/share/emacs/site-lisp/cmake-mode.el")
+ (progn
+  (debian-pkg-add-load-path-item (concat "/usr/share/"
+                                  (symbol-name debian-emacs-flavor)
+                                  "/site-lisp/cmake-data"))
+  (autoload 'cmake-mode "cmake-mode")
+  (setq auto-mode-alist
+   (append '(("CMakeLists\\.txt\\'" . cmake-mode)
+             ("\\.cmake\\'" . cmake-mode))
+    auto-mode-alist)))
+ (message "cmake-data removed but not purged, skipping setup"))