1
0
Fork 0

Rename oni-c++ to oni-cpp

This commit is contained in:
Tom Willemse 2020-01-13 21:31:56 -08:00
parent 0e2c70fe67
commit 214eb35081

View file

@ -1,10 +1,10 @@
;;; oni-c++.el --- C++ configuration -*- lexical-binding: t; -*-
;;; oni-cpp.el --- C++ configuration -*- lexical-binding: t; -*-
;; Copyright (C) 2019 Tom Willemse
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2019.1210.230105
;; Version: 2020.0113.213122
;; Package-Requires: (oni-company oni-flycheck oni-fci)
;; This program is free software; you can redistribute it and/or modify
@ -26,7 +26,7 @@
;;; Code:
(defun oni-c++--auto-fill-mode ()
(defun oni-cpp--auto-fill-mode ()
"Enable auto-fill-mode only for comments."
(setq-local comment-auto-fill-only-comments t)
(auto-fill-mode))
@ -36,9 +36,9 @@
(add-hook 'c++-mode-hook 'electric-pair-local-mode)
(add-hook 'c++-mode-hook 'fci-mode)
(add-hook 'c++-mode-hook 'flycheck-mode)
(add-hook 'c++-mode-hook 'oni-c++--auto-fill-mode)
(add-hook 'c++-mode-hook 'oni-cpp--auto-fill-mode)
;;;###autoload(with-eval-after-load 'cc-mode (require 'oni-c++))
;;;###autoload(with-eval-after-load 'cc-mode (require 'oni-cpp))
(provide 'oni-c++)
;;; oni-c++.el ends here
(provide 'oni-cpp)
;;; oni-cpp.el ends here