diff options
Diffstat (limited to 'apt-utils.el')
-rw-r--r-- | apt-utils.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-utils.el b/apt-utils.el index b620d76..43928a9 100644 --- a/apt-utils.el +++ b/apt-utils.el @@ -41,6 +41,7 @@ (require 'browse-url) (require 'jka-compr) +(require 'thingatpt) (defalias 'apt-utils-puthash 'puthash) @@ -1332,7 +1333,7 @@ indicated in `mode-name'." (text-properties-at (point)))))) (PC-word-delimiters "-")) (when (not (stringp package)) - (setq package nil)) + (setq package (word-at-point))) (completing-read (if package (format "Choose Debian package (%s): " package) "Choose Debian package: ") |