Mercurial > emacs
comparison lisp/iswitchb.el @ 65582:4d1085b02d64
Message format spec fixes (1)
author | Deepak Goel <deego@gnufans.org> |
---|---|
date | Sun, 18 Sep 2005 12:25:02 +0000 |
parents | 41bb365f41c4 |
children | fca34be2db31 fa0da9b57058 |
comparison
equal
deleted
inserted
replaced
65581:fd1833c3398a | 65582:4d1085b02d64 |
---|---|
1120 (setq newbufcreated (get-buffer-create buf)) | 1120 (setq newbufcreated (get-buffer-create buf)) |
1121 (if (fboundp 'set-buffer-major-mode) | 1121 (if (fboundp 'set-buffer-major-mode) |
1122 (set-buffer-major-mode newbufcreated)) | 1122 (set-buffer-major-mode newbufcreated)) |
1123 (iswitchb-visit-buffer newbufcreated)) | 1123 (iswitchb-visit-buffer newbufcreated)) |
1124 ;; else wont create new buffer | 1124 ;; else wont create new buffer |
1125 (message (format "no buffer matching `%s'" buf))))) | 1125 (message "no buffer matching `%s'" buf)))) |
1126 | 1126 |
1127 (defun iswitchb-window-buffer-p (buffer) | 1127 (defun iswitchb-window-buffer-p (buffer) |
1128 "Return window pointer if BUFFER is visible in another frame. | 1128 "Return window pointer if BUFFER is visible in another frame. |
1129 If BUFFER is visible in the current frame, return nil." | 1129 If BUFFER is visible in the current frame, return nil." |
1130 (interactive) | 1130 (interactive) |