summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorPeter Vasil <mail@petervasil.net>2015-01-19 18:49:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-19 18:53:38 (GMT)
commit3a147e1b623a4b8bb381c4b651cf983e294f3509 (patch)
treed5c4c49d6cf62cf2ff1dcf71d49624b33682fe3a /Auxiliary
parentca80598ecaff14414193fd65268f80e1eddb9fa0 (diff)
downloadCMake-3a147e1b623a4b8bb381c4b651cf983e294f3509.zip
CMake-3a147e1b623a4b8bb381c4b651cf983e294f3509.tar.gz
CMake-3a147e1b623a4b8bb381c4b651cf983e294f3509.tar.bz2
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')
-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 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))