changeset 16833:052a9f2e21e5

(frame-or-buffer-changed-p): Definition deleted. (the end): Use mapc, to force loading of cl-extra.
author Richard M. Stallman <rms@gnu.org>
date Sun, 05 Jan 1997 04:44:30 +0000
parents e4851d47a05d
children ec390b34ddc0
files lisp/msb.el
diffstat 1 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/msb.el	Sun Jan 05 03:44:26 1997 +0000
+++ b/lisp/msb.el	Sun Jan 05 04:44:30 1997 +0000
@@ -986,15 +986,6 @@
 			 (cddr buffers-menu))
 		(or buffers-menu 'undefined)))))))
 
-(when (and (boundp 'menu-bar-update-hook)
-	   (not (fboundp 'frame-or-buffer-changed-p)))
-  (defvar msb--buffer-count 0)
-  (defun frame-or-buffer-changed-p ()
-    (let ((count (length (buffer-list))))
-      (when (/= count msb--buffer-count)
-        (setq msb--buffer-count count)
-        t))))
-
 (unless (or (not (boundp 'menu-bar-update-hook))
 	    (memq 'menu-bar-update-buffers menu-bar-update-hook))
     (add-hook 'menu-bar-update-hook 'menu-bar-update-buffers))
@@ -1004,4 +995,8 @@
 
 (provide 'msb)
 (eval-after-load 'msb (run-hooks 'msb-after-load-hooks))
+
+;; Load the cl-extra library now, since we will certainly need it later.
+(mapc 'ignore nil)
+
 ;;; msb.el ends here