We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07eaf83 commit 08498d3Copy full SHA for 08498d3
drupal-mode.el
@@ -193,9 +193,10 @@ should save your files with unix style end of line."
193
(defun drupal-search-documentation ()
194
"Search Drupal documentation for symbol at point."
195
(interactive)
196
- (browse-url
197
- (format-spec drupal-search-url `((?v . ,(drupal-major-version drupal-version))
198
- (?s . ,(symbol-at-point))))))
+ (when (symbol-at-point)
+ (browse-url
+ (format-spec drupal-search-url `((?v . ,(drupal-major-version drupal-version))
199
+ (?s . ,(symbol-at-point)))))))
200
201
202
0 commit comments