[cmake-developers] [PATCH] cmake-mode.el: Re-add explicit call to require thingatpt
Peter Vasil
mail at petervasil.net
Mon Jan 19 13:49:07 EST 2015
Usually it is not needed to call '(require 'thingatpt')' explicitly
because the function 'symbol-at-point' is in autoloaded but to be sure
to have the function loaded in every case, require thingatpt.
---
Auxiliary/cmake-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index 37ca942..7458a66 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -320,6 +320,7 @@ and store the result as a list in LISTVAR."
))
)
+(require 'thingatpt)
(defun cmake-symbol-at-point ()
(let ((symbol (symbol-at-point)))
(and (not (null symbol))
--
2.2.2
More information about the cmake-developers
mailing list