diff --git a/oni-c++.el b/oni-cpp.el similarity index 80% rename from oni-c++.el rename to oni-cpp.el index 74cca5e..388f360 100644 --- a/oni-c++.el +++ b/oni-cpp.el @@ -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 ;; 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