[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 166/352: Varmatoimisempi wcheck-choose-suggestion-minibuffer
From: |
Stefan Monnier |
Subject: |
[elpa] 166/352: Varmatoimisempi wcheck-choose-suggestion-minibuffer |
Date: |
Mon, 07 Jul 2014 14:03:35 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 514eaf0e98ada8f1028957aa50a7424f97853566
Author: Teemu Likonen <address@hidden>
Date: Tue Aug 3 16:16:49 2010 +0000
Varmatoimisempi wcheck-choose-suggestion-minibuffer
Varmistetaan, ettei yritetä avata liian korkeaa ikkunaa ja siten
aiheuteta virheilmoitusta.
---
wcheck-mode.el | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 552be47..f077925 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -1170,11 +1170,14 @@ SUGGESTIONS is a list of strings. Return user's choice
(string)."
(window-width)))
(newline 1))))
(setq buffer-read-only t)
+ (goto-char (point-min))
(let* ((window-min-height 2)
(split-window-keep-point t)
(window (split-window-vertically
- (- 0 (count-lines (point-min) (point-max)) 1)))
+ (- 0 (min (count-lines (point-min) (point-max))
+ (- (window-body-height) 2))
+ 1)))
(prompt
(apply #'propertize
(let ((last (caar alist)))
- [elpa] 122/352: Poistetaan turha roina funktiosta wcheck-send-words, (continued)
- [elpa] 122/352: Poistetaan turha roina funktiosta wcheck-send-words, Stefan Monnier, 2014/07/07
- [elpa] 143/352: Sallitaan connection-argumentille arvoksi sekä "t" että "pty", Stefan Monnier, 2014/07/07
- [elpa] 289/352: Merge branch 'action-autoselect', Stefan Monnier, 2014/07/07
- [elpa] 309/352: Version 2012.01.29 (update copyrights too), Stefan Monnier, 2014/07/07
- [elpa] 311/352: Add full licence text (COPYING), Stefan Monnier, 2014/07/07
- [elpa] 209/352: wcheck-define-condition-makroon lisää automatiikkaa, Stefan Monnier, 2014/07/07
- [elpa] 151/352: Uusi ominaisuus: mahdollisuus lukea vain tiettyjä alueita puskurista, Stefan Monnier, 2014/07/07
- [elpa] 325/352: Archive README.org too in elpa tar package, Stefan Monnier, 2014/07/07
- [elpa] 334/352: Mention ~/.emacs.d/init.el too as one of the Emacs init files, Stefan Monnier, 2014/07/07
- [elpa] 157/352: Lisätään predikaattifunktio wcheck-list-of-strings-p, Stefan Monnier, 2014/07/07
- [elpa] 166/352: Varmatoimisempi wcheck-choose-suggestion-minibuffer,
Stefan Monnier <=
- [elpa] 140/352: Päivitetään Copyright-vuosi, Stefan Monnier, 2014/07/07
- [elpa] 147/352: Korjataan muuttujan wcheck-language-data kuvausta, Stefan Monnier, 2014/07/07