]> code.delx.au - gnu-emacs-elpa/commitdiff
Allowed scrolling of the documentation window.
authorNikolaj Schumacher <git@nschum.de>
Mon, 16 Mar 2009 21:12:40 +0000 (22:12 +0100)
committerNikolaj Schumacher <git@nschum.de>
Fri, 20 Mar 2009 11:58:29 +0000 (12:58 +0100)
company.el

index 5f7023a594045dbc03df95f92ccea32a3bde8a41..91cdfc1e97f2af91342a50cf4005daa684f2295c 100644 (file)
           (and (< (window-height) height)
                (< (- (window-height) row 2) company-tooltip-limit)
                (recenter (- (window-height) row 2)))
-          (read-event)
+          (while (eq 'scroll-other-window
+                     (key-binding (vector (list (read-event)))))
+            (scroll-other-window))
           (when last-input-event
             (clear-this-command-keys t)
             (setq unread-command-events (list last-input-event))))))))