1. 31 May, 2017 11 commits
  2. 30 May, 2017 17 commits
  3. 29 May, 2017 10 commits
    • Dmitry Gutov's avatar
      Turn global-eldoc-mode into a globalized minor mode · 2349f1df
      Dmitry Gutov authored
      * lisp/emacs-lisp/eldoc.el (global-eldoc-mode):
      Turn into globalized mode (bug#19853).
      (turn-on-eldoc-mode): Make it into a wrapper instead of alias.
      (eldoc-mode): Only show the message when called interactively.
    • Dmitry Gutov's avatar
      Use regexp matching instead of checking exit status · 4886b2ed
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-collect-matches):
      See if the output buffer contents look like Grep output
      instead of checking exit status (bug#23451).
    • Stephen Berman's avatar
      Add initial tests for todo-mode.el · 299a96c7
      Stephen Berman authored
      *test/lisp/calendar/todo-mode-resources/todo-test-1.todo: New files.
      * .gitattributes: Ignore trailing whitespace in todo-mode test
      data files, since it is part of the todo-mode file format.
    • Stephen Berman's avatar
      Make `todo-toggle-item-highlighting' work on multiline items (bug#27133) · ed222c50
      Stephen Berman authored
      * lisp/calendar/todo-mode.el (todo-hl-line-range): New named function,
      replacing an anonymous function for the sake of `describe-variable'.
      (todo-modes-set-2): Use it as buffer-local value of hl-line-range-function
      and remove boundp test of this variable, so its value is available on
      invoking `todo-toggle-item-highlighting'.
    • Alan Third's avatar
      Fix build error on macOS 10.6 · c503188f
      Alan Third authored
      * src/nsfns.m (compute_tip_xy): Cast NSRect to CGRect and NSPoint to
    • Noam Postavsky's avatar
      ; Fix backslashes in python-tests · 443f3716
      Noam Postavsky authored
      * test/lisp/progmodes/python-tests.el (python-indent-after-backslash-1)
      (python-info-assignment-continuation-line-p-1): Backslashes in
      literals should be doubled only once to produce one backslash in the
      buffer.  If there backslashes inside a Python string literal in a Lisp
      literal, that would need to be doubled twice, but there are no such
      cases.  Note that `python-tests-looking-at' takes a plain string, not
      a regexp.
    • Noam Postavsky's avatar
      ; Update test for previous change · eafc985f
      Noam Postavsky authored
      * test/lisp/progmodes/python-tests.el
      (python-indent-after-backslash-4): Indent after backslash is now
    • Jules Tamagnan's avatar
      Comply with pep 8 style guide for backslash in assignment (Bug#24809) · c9097e9b
      Jules Tamagnan authored
      * lisp/progmodes/python.el (python-indent--calculate-indentation):
      Increase indent by `python-indent-offset' after
      Copyright-paperwork-exempt: yes
    • Wilfred Hughes's avatar
      Add suggestion to docstring · c5cde97b
      Wilfred Hughes authored
      * lisp/subr.el (interactive-p): Mention commandp, as this is often
        what users are actually looking for.
    • Wilfred Hughes's avatar
      Ensure button-get works in any buffer · f7c4bad1
      Wilfred Hughes authored
      * lisp/button.el (button-get): Previously we assumed that button-get
        was called in the buffer containing the button.  In other buffers,
        button-get always returned nil.  Fix this by passing the relevant
        buffer from the marker.
  4. 28 May, 2017 2 commits
    • Dmitry Gutov's avatar
      Signal error if find-grep returns a nonzero status · 3bc3dc40
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-collect-matches): Signal error
      if find-grep returns a nonzero status (bug#23451).  Remove the
      comment: even if some output is present, a non-zero status
      means something went wrong and it can't be relied upon.
    • Stephen Berman's avatar
      Make sure exiting todo-mode buffer buries it (bug#27121) · d76c0078
      Stephen Berman authored
      This failed due to commit ea3ae33b from 2013-05-16, which prevented
      quitting todo-mode buffer after visiting todo-archive buffer from
      making the archive buffer current again.  Avoid this now by simply
      killing the archive buffer, since there's no need to keep it a live
      buffer.  Consequently, quitting a todo-mode buffer can now use
      bury-buffer without an argument, which ensures that is will not
      becomes current on quitting the buffer that replaced it in the window.
      * lisp/calendar/todo-mode.el (todo-quit): Kill todo-archive-mode
      buffer instead of burying it.  This now allows exiting the
      todo-mode buffer by bury-buffer without an argument, so do that.