bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11324: 24.0.95; Remove interactive for makefile-browse


From: Aaron S. Hawley
Subject: bug#11324: 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@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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]