branch: externals/cm-mode
commit 9c3a43dd848b9bec0ed424735bb74806e6303482
Author: Joost Kremers <[email protected]>
Commit: Joost Kremers <[email protected]>
Convert cm-last1 into a defsubst
---
cm-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cm-mode.el b/cm-mode.el
index e24e9da1de..516cfc287f 100644
--- a/cm-mode.el
+++ b/cm-mode.el
@@ -91,7 +91,7 @@
'font-lock-fontify-buffer)
"Compatibility function for Emacs 24.")
-(defun cm-last1 (list)
+(defsubst cm-last1 (list)
"Return the last element of LIST."
(car (last list)))