1. 23 Dec, 2016 1 commit
    • Stefan Monnier's avatar
      Fix M-x hints on Mac port · 08de101d
      Stefan Monnier authored
      * lisp/simple.el (execute-extended-command--shorter): Call
      input-pending-p to trigger input processing on some systems, such
      as Mac port.  (Bug#23002)
      08de101d
  2. 21 Dec, 2016 1 commit
  3. 20 Dec, 2016 2 commits
  4. 19 Dec, 2016 1 commit
  5. 18 Dec, 2016 1 commit
  6. 17 Dec, 2016 1 commit
    • Eli Zaretskii's avatar
      Repair desktop restoration on text terminals · 3d94931c
      Eli Zaretskii authored
      * lisp/desktop.el (desktop-restoring-frameset-p): Test for the GUI
      frame here, instead of in desktop-restoring-frameset.  That's
      because desktop-read wants to know whether frameset will actually
      be restored, and has fallback procedures up its sleeve when it
      won't be; these fallbacks need to be invoked when the frameset is
      not going to be restored.  (Bug#24298)
      3d94931c
  7. 16 Dec, 2016 2 commits
  8. 11 Dec, 2016 3 commits
    • Michael Albinus's avatar
      Fix Bug#25162 · 467768f6
      Michael Albinus authored
      * doc/emacs/files.texi (Reverting): Document
      auto-revert-remote-files and auto-revert-verbose.
      
      * lisp/autorevert.el (auto-revert-verbose, auto-revert-mode)
      (auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.
      467768f6
    • Glenn Morris's avatar
      Fix a typo in define-abbrev-table · 6db78ae9
      Glenn Morris authored
      * lisp/abbrev.el (define-abbrev-table): Fix typo in docstring handling.
      6db78ae9
    • Glenn Morris's avatar
      Fixes related to select-enable-clipboard · 442e2f61
      Glenn Morris authored
      * lisp/menu-bar.el (clipboard-yank, clipboard-kill-ring-save)
      (clipboard-kill-region):
      * lisp/eshell/esh-io.el (eshell-virtual-targets)
      (eshell-clipboard-append):
      Replace option gui-select-enable-clipboard with
      select-enable-clipboard; renamed October 2014.  (Bug#25145)
      442e2f61
  9. 10 Dec, 2016 1 commit
    • Noam Postavsky's avatar
      Define struct predicate before acccesors · e4ac4507
      Noam Postavsky authored
      The accessor functions use the predicate function, which causes problems
      when reloading after unload-feature: the compiler-macro property is
      still present on the predicate symbol, and the compiler fails to find
      the definition when trying to inline it into the accessor
      function (Bug#25088).
      
      * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition
      before field accessor definitions.
      e4ac4507
  10. 08 Dec, 2016 1 commit
  11. 07 Dec, 2016 3 commits
  12. 02 Dec, 2016 3 commits
  13. 28 Nov, 2016 4 commits
    • Philipp Stephani's avatar
      ; Revert "Guard terminal par. in XTerm mouse mode" · f6da5973
      Philipp Stephani authored
      This reverts commit d4e15492.
      
      Since emacs-25 should only contain regression fixes and doc fixes, this
      commit was moved to the master branch.
      f6da5973
    • NicolasPetton's avatar
    • Eli Zaretskii's avatar
      Fix 'expand-file-name' during startup on MS-Windows · 5878abf8
      Eli Zaretskii authored
      * src/w32.c (w32_init_file_name_codepage): New function, resets
      file_name_codepage and w32_ansi_code_page to undo the values
      recorded during dumping.
      (codepage_for_filenames): Fix an embarrassing typo.  Ignore the
      cached value of file-name encoding if it is nil, i.e. not
      initialized yet.  Actually cache the last used file-name encoding
      to avoid calling APIs when not necessary.
      
      * src/w32.h (w32_init_file_name_codepage): Add prototype.
      
      * src/w32term.c (syms_of_w32term): Set the value of
      w32_unicode_filenames according to the OS version.  This avoids
      resetting it during startup, which then causes temacs to run with
      the incorrect value.
      
      * src/emacs.c (main): Call w32_init_file_name_codepage early
      during the startup.
      
      * src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir'
      after converting $HOME to a UTF-8 string, so that 'newdirlim' is
      consistent with it.  (Bug#25038)
      
      * lisp/international/mule-cmds.el (set-locale-environment): Set
      'default-file-name-coding-system' to the ANSI codepage even in
      non-interactive sessions.
      
      * lisp/files.el (directory-abbrev-alist, abbreviated-home-dir):
      Doc fix.
      (abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a
      unibyte string.
      
      * doc/lispref/files.texi (Directory Names): Index
      'directory-abbrev-alist'.
      5878abf8
    • Glenn Morris's avatar
      Improve treatment of Fortran's "class is" · e46a1344
      Glenn Morris authored
      * lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
      Handle "class is".  (Bug#25039)
      * test/automated/f90.el (f90-test-bug25039): New test.
      e46a1344
  14. 26 Nov, 2016 1 commit
    • Karl Fogel's avatar
      Handle TeX comments when making new paragraph · 93c0f512
      Karl Fogel authored
      * lisp/textmodes/tex-mode.el (tex-handle-newline): New function.
        Handle comment case directly, and dispatch to `tex-terminate-paragraph'
        for original behavior in non-comment case.
        (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
      93c0f512
  15. 25 Nov, 2016 3 commits
  16. 22 Nov, 2016 1 commit
    • Philipp Stephani's avatar
      Guard terminal parameter in XTerm mouse mode · d4e15492
      Philipp Stephani authored
      It has been observed (in the HTerm terminal emulator) that the
      event stored in the 'xterm-mouse-last-down' terminal parameter gets
      overwritten during a mouse drag operation, causing Emacs to attempt to
      synthesize the non-existing <drag-mouse-0> event.  Copy the event into
      the terminal parameter to protect against such modifications.
      
      * lisp/xt-mouse.el (xterm-mouse-translate-1): Guard against modification
      of input event list.
      d4e15492
  17. 21 Nov, 2016 1 commit
  18. 20 Nov, 2016 1 commit
  19. 16 Nov, 2016 2 commits
    • Dmitry Gutov's avatar
      js-mode: Fix indent problem after a regexp · 4887e7c6
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
      slash is not ending a regexp (bug#24854).
      4887e7c6
    • Eli Zaretskii's avatar
      Fix sluggish display of symbols in UTF-8 language environment · e992ac0a
      Eli Zaretskii authored
      * lisp/international/fontset.el (setup-default-fontset): Make sure
      Symbola and FreeMono are set up in the default fontset as belonging
      to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
      long and futile search for a suitable font, whose side effect is a
      lot of consing, which then hits the font-cache compacting issue,
      and causes very sluggish redisplay of characters displayed by
      these fonts.  All this happens because the default for the
      registry is "iso8859-1".  (Bug#24953)
      e992ac0a
  20. 10 Nov, 2016 1 commit
  21. 09 Nov, 2016 1 commit
    • Noam Postavsky's avatar
      Do call debugger on failed cl-assert · eb364fdd
      Noam Postavsky authored
      "Don't call debug on failed cl-assert..." removed the call to `debug' in
      cl--assertion-failed because `debug' calls `kill-emacs' in batch mode,
      thus messing up ert test runs.  However, calling the debugger is useful
      because it allows catching failed assertions even inside
      `condition-case' calls.  The problem with ert can be avoided by calling
      `debugger' instead of `debug' directly, since ert installs its own
      debugger while running tests.
      
      * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call
      `debugger' if `debug-on-error' is non-nil.
      eb364fdd
  22. 08 Nov, 2016 1 commit
    • Daniel Colascione's avatar
      Avoid infloop in python · 3ef4ee84
      Daniel Colascione authored
      Fix bug#24905
      
      * lisp/progmodes/python.el (python-info-docstring-p): Improve
      infloop avoidance: replace (bobp) with generic test for
      forward progress.
      * test/lisp/progmodes/python-tests.el (python-bob-infloop-avoid): Add
      test for bug#24905
      3ef4ee84
  23. 07 Nov, 2016 4 commits