Move cpp-mode{,-map} aliases to autoloads

They don't need to be in config.el
This commit is contained in:
Henrik Lissner 2020-01-03 05:49:43 -05:00
parent 11676b0153
commit 6523f6a12e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 5 additions and 5 deletions

View file

@ -3,6 +3,11 @@
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.cl\\'" . opencl-mode))
;; The plusses in c++-mode can be annoying to search for ivy/helm (which reads
;; queries as regexps), so we add these for convenience.
;;;###autoload (defalias 'cpp-mode 'c++-mode)
;;;###autoload (defvaralias 'cpp-mode-map 'c++-mode-map)
;;
;; Library