+2009-01-24 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * term/ns-win.el (menu-bar-select-frame): Drop this override.
+ (menu-bar-update-frames): Update call to menu-bar-select-frame.
+
2009-01-24 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-insert-inbox-text): Revert replacement of
(define-key-after menu-bar-edit-menu [separator-undo] '("--") 'undo)
(define-key-after menu-bar-edit-menu [spell] '("Spell" . ispell-menu-map) 'fill)
-
-;;;; Windows menu
-(defun menu-bar-select-frame (&optional frame)
- (interactive)
- (make-frame-visible last-command-event)
- (raise-frame last-command-event)
- (select-frame last-command-event))
-
(defun menu-bar-update-frames ()
;; If user discards the Windows item, play along.
(when (lookup-key (current-global-map) [menu-bar windows])
(setcdr frames-menu
(nconc
(mapcar (lambda (frame)
- (list* frame
- (cdr (assq 'name (frame-parameters frame)))
- 'menu-bar-select-frame))
+ (list*
+ (frame-parameter frame 'window-id)
+ (frame-parameter frame 'name)
+ `(lambda ()
+ (interactive) (menu-bar-select-frame ,frame))))
frames)
(cdr frames-menu)))
(define-key frames-menu [separator-frames] '("--"))
message-log-max)
(setq ns-working-overlay-len (length ns-working-text))
(setq msg (concat msg ns-working-text))
- (put-text-property msglen (+ msglen ns-working-overlay-len) 'face 'ns-working-text-face msg)
+ (put-text-property msglen (+ msglen ns-working-overlay-len)
+ 'face 'ns-working-text-face msg)
(message "%s" msg)
(setq ns-working-overlay t)))