GNU bug report logs - #11324
24.0.95; Remove interactive for makefile-browse

Previous Next

Package: emacs;

Reported by: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>

Date: Tue, 24 Apr 2012 14:01:02 UTC

Severity: minor

Found in version 24.0.95

Fixed in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.95; Remove interactive for makefile-browse
Date: Tue, 24 Apr 2012 09:59:24 -0400
In Makefile Mode, C-c C-b runs the command makefile-switch-to-browser.
 This in turn calls `makefile-browse'.  There's no need for the latter
to be a command.  The interactive spec is invalid for the function
arguments, anyway.

Thanks for Emacs,
aaron

2012-04-24  Aaron S. Hawley  <aaron.s.hawley <at> gmail.com>

        * make-mode.el (makefile-browse): Remove unnecessary interactive.

--- make-mode.el	2012-04-23 15:51:58.830057300 -0400
+++ make-mode.el	2012-04-24 08:40:07.221045900 -0400
@@ -1493,7 +1493,6 @@
   (setq buffer-read-only t))

 (defun makefile-browse (targets macros)
-  (interactive)
   (if (zerop (+ (length targets) (length macros)))
       (progn
 	(beep)




This bug report was last modified 13 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.