diff options
| -rw-r--r-- | oni-cpp.el (renamed from oni-c++.el) | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |
