Commits

Ali Gholami Rudi  committed 4254f68

rope-show-doc: only showing the first seven lines in minibuffer

  • Participants
  • Parent commits 9e61e60

Comments (0)

Files changed (1)

File ropemacs/interface.py

         if lisp['ropemacs-separate-doc-buffer'].value():
             use_minibuffer = not use_minibuffer
         if use_minibuffer:
+            docs = '\n'.join(docs.split('\n')[:7])
             lisputils.message(docs)
         else:
             buffer = lisputils.make_buffer('*rope-pydoc*', docs,