Add a grep alias for cmake files
This commit is contained in:
parent
213169c563
commit
7090f13088
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue