From 214eb3508189ac346ce2389d4e2a1e939cfa1e75 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 13 Jan 2020 21:31:56 -0800 Subject: [PATCH] Rename oni-c++ to oni-cpp --- oni-c++.el => oni-cpp.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename oni-c++.el => oni-cpp.el (80%) 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