1
0
Fork 0

Add a grep alias for cmake files

This commit is contained in:
Tom Willemse 2019-03-28 17:41:08 -07:00
parent 213169c563
commit 7090f13088

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190328160117 ;; Version: 20190328173541
;; Package-Requires: (cmake-mode oni-company cmake-font-lock) ;; Package-Requires: (cmake-mode oni-company cmake-font-lock)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -42,6 +42,10 @@
eol) eol)
1 2 nil 1 1)) 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)) ;;;###autoload(with-eval-after-load 'cmake-mode (require 'oni-cmake))
(provide 'oni-cmake) (provide 'oni-cmake)