mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
string-empty-p > zerop+length; for backwards compatibility
This commit is contained in:
@@ -16,10 +16,9 @@
|
||||
(when (evil-visual-state-p)
|
||||
(setq query (concat (buffer-substring-no-properties (region-beginning) (region-end))
|
||||
" " query)))
|
||||
(when (or (not query) (string-empty-p query))
|
||||
(when (or (not query) (zerop (length query)))
|
||||
(setq query (thing-at-point 'symbol)))
|
||||
(dash-at-point-run-search query docset)))
|
||||
|
||||
|
||||
(provide 'defuns-dash)
|
||||
;;; defuns-dash.el ends here
|
||||
|
Reference in New Issue
Block a user