comparison lisp/modes/make-mode.el @ 161:28f395d8dc7a r20-3b7

Import from CVS: tag r20-3b7
author cvs
date Mon, 13 Aug 2007 09:42:26 +0200
parents 1370575f1259
children 9ad43877534d
comparison
equal deleted inserted replaced
160:1c55655d6702 161:28f395d8dc7a
1138 (defun makefile-browser-start-interaction () 1138 (defun makefile-browser-start-interaction ()
1139 (use-local-map makefile-browser-map) 1139 (use-local-map makefile-browser-map)
1140 (setq buffer-read-only t)) 1140 (setq buffer-read-only t))
1141 1141
1142 (defun makefile-browse (targets macros) 1142 (defun makefile-browse (targets macros)
1143 (interactive)
1144 (if (zerop (+ (length targets) (length macros))) 1143 (if (zerop (+ (length targets) (length macros)))
1145 (progn 1144 (progn
1146 (beep) 1145 (beep)
1147 (message "No macros or targets to browse! Consider running 'makefile-pickup-everything\'")) 1146 (message "No macros or targets to browse! Consider running 'makefile-pickup-everything\'"))
1148 (let ((browser-buffer (get-buffer-create makefile-browser-buffer-name))) 1147 (let ((browser-buffer (get-buffer-create makefile-browser-buffer-name)))