Commit 0880716f authored by Sam Steingold's avatar Sam Steingold
Browse files

(turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Remove,

`bug-reference-mode' and `bug-reference-prog-mode' can be used in hooks directly
parent 4a8ae76f
......@@ -3,6 +3,10 @@
* progmodes/compile.el (compilation-save-buffers-predicate):
Remove the "autoload" cookie.
* progmodes/bug-reference.el (turn-on-bug-reference-mode)
(turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
and `bug-reference-prog-mode' can be used in hooks directly.
2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
Add --author support to git commit.
......
......@@ -130,12 +130,6 @@ There is no default setting for this, it must be set per file.")
(widen)
(bug-reference-unfontify (point-min) (point-max)))))
;;;###autoload
(defun turn-on-bug-reference-mode ()
"Unconditionally turn bug reference mode on."
(unless bug-reference-mode
(bug-reference-mode)))
;;;###autoload
(define-minor-mode bug-reference-prog-mode
"Like `bug-reference-mode', but only buttonize in comments and strings."
......@@ -149,11 +143,5 @@ There is no default setting for this, it must be set per file.")
(widen)
(bug-reference-unfontify (point-min) (point-max)))))
;;;###autoload
(defun turn-on-bug-reference-prog-mode ()
"Unconditionally turn bug reference prog mode on."
(unless bug-reference-prog-mode
(bug-reference-prog-mode)))
;; arch-tag: b138abce-e5c3-475e-bd58-7afba40387ea
;;; bug-reference.el ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment