1. 30 Apr, 2016 2 commits
  2. 29 Apr, 2016 3 commits
    • Alan Mackenzie's avatar
      Restore follow-scroll-up/down to scrolling by the combined size of all windows · c6077bfd
      Alan Mackenzie authored
      Also rename the current follow-scroll-up/down functions to
      follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
      height of the current window.
      
      This fixes bug #23347.
      
      * lisp/follow.el (follow-mode): Tweak the doc string.
      (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
      follow-scroll-up/down.
      (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
      follow-scroll-up/down.
      (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
      c6077bfd
    • Alan Mackenzie's avatar
      Revert unneeded change which harms syntactic parsing. This fixes bug #23308. · b671e218
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
      c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
      regardless of the value of `here'.
      b671e218
    • Alan Mackenzie's avatar
      Correct indentation of ids in a C++ enum after a protection keyword. · 48b24c9b
      Alan Mackenzie authored
      Also correct the misfontification of the last enum identifier.
      
      * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
      c-last-identifier-range to nil to ensure that only types recognized by this
      macro are set for fontification as types.
      (c-backward-typed-enum-colon): Function renamed from
      c-backward-colon-prefixed-type.  On finding a colon in the backward search,
      check it is preceded by an identifier rather than a keyword.
      48b24c9b
  3. 27 Apr, 2016 8 commits
    • Glenn Morris's avatar
      * lisp/window.el (window--process-window-list): No-op if no processes. · 5c3534ff
      Glenn Morris authored
      This avoids an issue with save-selected-window (from walk-windows)
      failing if frame.el is not loaded, eg if the terminal is resized
      during startup of a -nw CANNOT_DUMP build.  (Bug#23369).
      5c3534ff
    • Paul Eggert's avatar
      Port dumping to NetBSD with PaX · 734fb3ac
      Paul Eggert authored
      Problem reported by Thomas Klausner (Bug#23371).
      * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
      Set them to setfattr and/or paxctl commands appropriate for
      GNU/Linux and/or NetBSD; the latter prefers paxctl +a.  Search
      for paxctl only if setfattr is not found.
      * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
      New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
      All uses changed.
      734fb3ac
    • Dmitry Gutov's avatar
      Don't mistake `for' inside a function for a part of array comprehension · 0255a70c
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
      depth in parens between the bracket and `for' (bug#23391).
      
      * test/indent/js.js: Add a corresponding example.
      0255a70c
    • Anders Lindgren's avatar
      Fix bug#22891: wrong terminal width when a fringe width is zero. · ff7e201e
      Anders Lindgren authored
      When either fringe width is zero, Emacs reserved one column for a
      continuation glyph. Terminal windows does not take this into
      account when the frame is resized.
      
      * lisp/window.el (window-adjust-process-window-size): Use
      `window-max-chars-per-line' instead of `window-body-width'.
      * lisp/term.el (term-window-width): Remove function. (It does the
      same as `window-max-chars-per-line' but without recent bug fixes.)
      (term-mode): Use `window-max-chars-per-line' instead of
      `term-window-width'.
      
      Backport
      
      (cherry picked from commit 5b540328)
      ff7e201e
    • Leo Liu's avatar
      Improve last change to vc-git-mode-line-string · 71fb0e06
      Leo Liu authored
      * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
        the result.
      71fb0e06
    • Stephen Berman's avatar
      Todo mode doc bug fix · 6858e77c
      Stephen Berman authored
      * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
      longer correct information in doc string.
      6858e77c
    • Leo Liu's avatar
      Fix revision calculation in vc-git-mode-line-string · e55d0db9
      Leo Liu authored
      * lisp/vc/vc-git.el (vc-git-mode-line-string): Use
        vc-git-working-revision because vc-working-revision needs to decide
        the backend and may return nil.
      e55d0db9
    • Mark Oteiza's avatar
      ; Fix errant revert ccb75d72 · ca87b349
      Mark Oteiza authored
      * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
      ca87b349
  4. 26 Apr, 2016 4 commits
  5. 25 Apr, 2016 5 commits
  6. 24 Apr, 2016 3 commits
  7. 23 Apr, 2016 2 commits
  8. 22 Apr, 2016 7 commits
  9. 21 Apr, 2016 5 commits
  10. 20 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Clarify documentation of 'dired-mark-files-containing-regexp' · aa03257c
      Eli Zaretskii authored
      * doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
      visited in buffers, 'dired-mark-files-containing-regexp' searches
      the buffer rather than the file on disk.  (Bug#22694)
      
      * lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
      for files visited in buffers, 'dired-mark-files-containing-regexp'
      searches the buffer rather than the file on disk.  (Bug#22694)
      aa03257c