summaryrefslogtreecommitdiff
path: root/Auxiliary/cmake-mode.el
diff options
context:
space:
mode:
authorPeter Vasil <mail@petervasil.net>2015-01-19 19:49:07 +0100
committerBrad King <brad.king@kitware.com>2015-01-19 13:53:38 -0500
commit3a147e1b623a4b8bb381c4b651cf983e294f3509 (patch)
treed5c4c49d6cf62cf2ff1dcf71d49624b33682fe3a /Auxiliary/cmake-mode.el
parentca80598ecaff14414193fd65268f80e1eddb9fa0 (diff)
downloadcmake-3a147e1b623a4b8bb381c4b651cf983e294f3509.tar.gz
cmake-mode.el: Re-add explicit call to require thingatpt
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.
Diffstat (limited to 'Auxiliary/cmake-mode.el')
-rw-r--r--Auxiliary/cmake-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index 37ca94282e..7458a660c6 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))