Rename oni-c++ to oni-cpp
This commit is contained in:
parent
0e2c70fe67
commit
214eb35081
1 changed files with 7 additions and 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
|
Loading…
Reference in a new issue