diff options
author | psg <> | 2016-11-05 22:18:48 +0000 |
---|---|---|
committer | psg <> | 2016-11-05 22:18:48 +0000 |
commit | 4fff76ab28301fa869b33b138cbf334fc30af6ae (patch) | |
tree | f5ea7bfbf0cbc345c610a4a2a0e4aa8ef056d3e1 /apt-utils.el | |
parent | 643f0dbdc609e4a3062fb894ab677074606a8552 (diff) |
Fix Bug 613776
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: ") |