From fff3647327a17e55c69b201a86bda6e177e2b245 Mon Sep 17 00:00:00 2001 From: psg <> Date: Wed, 6 Sep 2006 00:49:39 +0000 Subject: debian-bug.el: Bug fix: "debian-el: debian-bug-prompt-bug-number missing word-at-point", thanks to Kevin Ryde (Closes: #384542). --- debian-bug.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian-bug.el b/debian-bug.el index 1fa98b8..f329dc1 100644 --- a/debian-bug.el +++ b/debian-bug.el @@ -1,7 +1,7 @@ ;; debian-bug.el --- report a bug to Debian's bug tracking system ;; Copyright (C) 1998, 1999 Free Software Foundation, Inc. -;; Copyright (C) 2001, 2002, 2003, 2004, 2005 Peter S Galbraith +;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Peter S Galbraith ;; Help texts from ;; http://www.debian.org/Bugs/Developer#severities @@ -275,6 +275,8 @@ ;; - Search for "^cc:" instead of simply "cc:" in Bug #208570 change. ;; V1.60 30May2006 Luca Capello ;; - Change the face of Tags: for experimental, (Closes: #357265) +;; V1.61 05Sep2006 evin Ryde +;; - word-at-point needs an autoload or a require statement (Closes: #384542) ;; ---------------------------------------------------------------------------- ;;; Todo (Peter's list): @@ -1422,6 +1424,7 @@ With optional argument prefix ARCHIVED, display archived bugs." (defun debian-bug-prompt-bug-number (prompt) "Prompt the user for a bug number using PROMPT." + (require 'thingatpt) (let ((default-number) (item (word-at-point))) ;; First see if there's a number under point -- cgit v1.2.3