Mercurial > emacs
changeset 107813:7fe21bd6ddf8
(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
author | Sam Steingold <sds@gnu.org> |
---|---|
date | Fri, 09 Apr 2010 12:04:17 -0400 |
parents | f1bfb44da2cb |
children | 0bffb2cd03fe |
files | lisp/ChangeLog lisp/progmodes/bug-reference.el |
diffstat | 2 files changed, 4 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Apr 09 11:52:45 2010 -0400 +++ b/lisp/ChangeLog Fri Apr 09 12:04:17 2010 -0400 @@ -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.
--- a/lisp/progmodes/bug-reference.el Fri Apr 09 11:52:45 2010 -0400 +++ b/lisp/progmodes/bug-reference.el Fri Apr 09 12:04:17 2010 -0400 @@ -131,12 +131,6 @@ (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." nil @@ -149,11 +143,5 @@ (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