emacs: alias cc-mode for c++-mode

This commit is contained in:
madmaurice 2018-10-09 16:28:50 +02:00
parent addb92eb19
commit 84d409f2e9

View file

@ -33,6 +33,9 @@
(defun silence ()
(interactive))
;; Rename c++-mode to cc-mode for easier access)
(defalias 'cc-mode 'c++-mode)
;; Helper function
(defun string-ends-with-p (string suffix)
"Return t if STRING ends with SUFFIX."