[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trivial error in mouse-drag-region()
From: |
MIYOSHI Masanori |
Subject: |
trivial error in mouse-drag-region() |
Date: |
Sat, 15 Oct 2005 09:06:07 +0900 |
User-agent: |
Wanderlust/2.15.1 (Almost Unreal) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.8 (Hajinosato) APEL/10.6 Emacs/22.0.50 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) |
The following operation reproduces a trivial error.
(1) Start up emacs with `emacs -q'.
(2) Kill the `*Messages*' buffer.
(3) Click the echo area with the mouse.
As a result the next message is shown in the echo area and the
`*Messages*' buffer is not displayed.
> No buffer named *Messages*
At the same time view-echo-area-messages() doesn't reproduce the
error.
The following patch fixes the problem.
--- mouse.el 14 Oct 2005 13:15:05 -0000 1.282
+++ mouse.el 14 Oct 2005 23:24:20 -0000
@@ -768,7 +768,7 @@
(save-excursion
;; Swallow the up-event.
(read-event)
- (set-buffer "*Messages*")
+ (set-buffer (get-buffer-create "*Messages*"))
(goto-char (point-max))
(display-buffer (current-buffer)))
;; Give temporary modes such as isearch a chance to turn off.
--
MIYOSHI Masanori
- trivial error in mouse-drag-region(),
MIYOSHI Masanori <=