emacs: alias cc-mode for c++-mode
This commit is contained in:
parent
addb92eb19
commit
84d409f2e9
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@
|
||||||
(defun silence ()
|
(defun silence ()
|
||||||
(interactive))
|
(interactive))
|
||||||
|
|
||||||
|
;; Rename c++-mode to cc-mode for easier access)
|
||||||
|
(defalias 'cc-mode 'c++-mode)
|
||||||
|
|
||||||
;; Helper function
|
;; Helper function
|
||||||
(defun string-ends-with-p (string suffix)
|
(defun string-ends-with-p (string suffix)
|
||||||
"Return t if STRING ends with SUFFIX."
|
"Return t if STRING ends with SUFFIX."
|
||||||
|
|
Loading…
Reference in a new issue