[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99858: (turn-on-bug-reference-mode,
From: |
Sam Steingold |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99858: (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Remove, |
Date: |
Fri, 09 Apr 2010 12:04:17 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99858
committer: Sam Steingold <address@hidden>
branch nick: trunk
timestamp: Fri 2010-04-09 12:04:17 -0400
message:
(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
modified:
lisp/ChangeLog
lisp/progmodes/bug-reference.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-04-09 15:52:45 +0000
+++ b/lisp/ChangeLog 2010-04-09 16:04:17 +0000
@@ -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 <address@hidden>
Add --author support to git commit.
=== modified file 'lisp/progmodes/bug-reference.el'
--- a/lisp/progmodes/bug-reference.el 2010-04-07 16:25:49 +0000
+++ b/lisp/progmodes/bug-reference.el 2010-04-09 16:04:17 +0000
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99858: (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Remove,,
Sam Steingold <=