aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa2011-07-07 13:20:12 +0900
committerKenichi Handa2011-07-07 13:20:12 +0900
commitef7b981ddd5efeb17f2894f51b5a69b974bc3674 (patch)
treee9f2802174b1cead62c96ebd7e487da63f4eff4e /lisp
parent023e7b416bc76d4c98a421ee9455df039967e484 (diff)
parent76b397fb2aaecf9f71b6a914dea4a5ff7b486d18 (diff)
downloademacs-ef7b981ddd5efeb17f2894f51b5a69b974bc3674.tar.gz
emacs-ef7b981ddd5efeb17f2894f51b5a69b974bc3674.zip
merge trunk
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/bindings.el2
-rw-r--r--lisp/window.el4
3 files changed, 12 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5dd52709746..42c1686e9d5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,4 @@
12011-07-06 Kenichi Handa <handa@m17n.org> 12011-07-07 Kenichi Handa <handa@m17n.org>
2 2
3 * international/characters.el (build-unicode-category-table): 3 * international/characters.el (build-unicode-category-table):
4 Delete it. 4 Delete it.
@@ -34,6 +34,13 @@
34 * loadup.el: Load international/charprop.el before 34 * loadup.el: Load international/charprop.el before
35 international/characters. 35 international/characters.
36 36
372011-07-07 Chong Yidong <cyd@stupidchicken.com>
38
39 * window.el (next-buffer, previous-buffer): Signal an error if
40 called from a minibuffer window.
41
42 * bindings.el: Revert 2011-07-04 change.
43
372011-07-06 Richard Stallman <rms@gnu.org> 442011-07-06 Richard Stallman <rms@gnu.org>
38 45
39 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions. 46 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 2f035608528..99d9aa36e35 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -807,8 +807,6 @@ if `inhibit-field-text-motion' is non-nil."
807 (define-key map [up] 'previous-history-element) 807 (define-key map [up] 'previous-history-element)
808 (define-key map "\es" 'next-matching-history-element) 808 (define-key map "\es" 'next-matching-history-element)
809 (define-key map "\er" 'previous-matching-history-element) 809 (define-key map "\er" 'previous-matching-history-element)
810 (define-key map [remap next-buffer] 'ignore)
811 (define-key map [remap previous-buffer] 'ignore)
812 ;; Override the global binding (which calls indent-relative via 810 ;; Override the global binding (which calls indent-relative via
813 ;; indent-for-tab-command). The alignment that indent-relative tries to 811 ;; indent-for-tab-command). The alignment that indent-relative tries to
814 ;; do doesn't make much sense here since the prompt messes it up. 812 ;; do doesn't make much sense here since the prompt messes it up.
diff --git a/lisp/window.el b/lisp/window.el
index 2b98630a51e..2c4bf0dcb23 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2819,11 +2819,15 @@ displayed there."
2819(defun next-buffer () 2819(defun next-buffer ()
2820 "In selected window switch to next buffer." 2820 "In selected window switch to next buffer."
2821 (interactive) 2821 (interactive)
2822 (if (window-minibuffer-p)
2823 (error "Cannot switch buffers in minibuffer window"))
2822 (switch-to-next-buffer)) 2824 (switch-to-next-buffer))
2823 2825
2824(defun previous-buffer () 2826(defun previous-buffer ()
2825 "In selected window switch to previous buffer." 2827 "In selected window switch to previous buffer."
2826 (interactive) 2828 (interactive)
2829 (if (window-minibuffer-p)
2830 (error "Cannot switch buffers in minibuffer window"))
2827 (switch-to-prev-buffer)) 2831 (switch-to-prev-buffer))
2828 2832
2829(defun delete-windows-on (&optional buffer-or-name frame) 2833(defun delete-windows-on (&optional buffer-or-name frame)