[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/tmm.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/tmm.el,v |
Date: |
Mon, 14 Apr 2008 18:13:17 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 08/04/14 18:13:16
Index: tmm.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/tmm.el,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- tmm.el 8 Jan 2008 20:44:46 -0000 1.58
+++ tmm.el 14 Apr 2008 18:13:16 -0000 1.59
@@ -345,8 +345,8 @@
(defun tmm-completion-delete-prompt ()
(set-buffer standard-output)
- (goto-char 1)
- (delete-region 1 (search-forward "Possible completions are:\n")))
+ (goto-char (point-min))
+ (delete-region (point) (search-forward "Possible completions are:\n")))
(defun tmm-remove-inactive-mouse-face ()
"Remove the mouse-face property from inactive menu items."
@@ -378,9 +378,10 @@
(or tmm-completion-prompt
(add-hook 'completion-setup-hook
'tmm-completion-delete-prompt 'append))
+ (unwind-protect
(with-output-to-temp-buffer "*Completions*"
(display-completion-list completions))
- (remove-hook 'completion-setup-hook 'tmm-completion-delete-prompt))
+ (remove-hook 'completion-setup-hook 'tmm-completion-delete-prompt)))
(set-buffer "*Completions*")
(tmm-remove-inactive-mouse-face)
(when tmm-completion-prompt
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/tmm.el,v,
Stefan Monnier <=