aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-cmake.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/oni-cmake.el b/oni-cmake.el
index d37c460..d8ba67f 100644
--- a/oni-cmake.el
+++ b/oni-cmake.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190328160117
+;; Version: 20190328173541
;; Package-Requires: (cmake-mode oni-company cmake-font-lock)
;; This program is free software; you can redistribute it and/or modify
@@ -42,6 +42,10 @@
eol)
1 2 nil 1 1))
+;;;###autoload
+(with-eval-after-load 'grep
+ (add-to-list 'grep-files-aliases '("cmake" . "CMakeLists.txt *.cmake")))
+
;;;###autoload(with-eval-after-load 'cmake-mode (require 'oni-cmake))
(provide 'oni-cmake)