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.
This commit is contained in:
Peter Vasil 2015-01-19 19:49:07 +01:00 committed by Brad King
parent ca80598eca
commit 3a147e1b62
1 changed files with 1 additions and 0 deletions

View File

@ -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))