1. 12 Mar, 2014 7 commits
    • Juanma Barranquero's avatar
      lisp/frameset.el: Optimize check for visible frame. · d27a1a7b
      Juanma Barranquero authored
      (frameset-restore): When checking for a visible frame,
      use the action map instead of calling visible-frame-list.
      d27a1a7b
    • Jonas Bernoulli's avatar
    • Martin Rudalics's avatar
      Two adjustments in window/frame resizing. · 8960529e
      Martin Rudalics authored
      * frame.c (x_set_frame_parameters): Always calculate new sizes
      pixelwise to avoid potential loss when rounding.
      * window.el (fit-frame-to-buffer): Get maximum width from
      display's width instead of height.
      8960529e
    • Glenn Morris's avatar
      Some doc edits related to desktop-restore-frames · 46456005
      Glenn Morris authored
      * doc/emacs/misc.texi (Saving Emacs Sessions):
      Be briefer about desktop's handling of frames.
      The manual does not need to mention every option, nor should
      it just repeat the doc-strings.
      
      * lisp/desktop.el (desktop-restore-frames)
      (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
      (desktop-restore-reuses-frames): Doc tweaks.
      
      * etc/NEWS: Related edits.
      46456005
    • Glenn Morris's avatar
      * emacs/indent.texi (Indent Convenience): Mention electric-indent-local-mode. · 8a51e8e4
      Glenn Morris authored
      * lisp/electric.el (electric-indent-mode): Doc fix.
      
      * etc/NEWS: Related markup.
      8a51e8e4
    • Juanma Barranquero's avatar
      lisp/vc/pcvs*.el: Fix typos. · 5983b317
      Juanma Barranquero authored
      * lisp/vc/pcvs-defs.el (cvs-auto-remove-handled)
      (cvs-auto-remove-directories, cvs-default-ignore-marks)
      (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
      (cvs-execute-single-dir): Fix docstring typos.
      
      * lisp/vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
      (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
      
      * lisp/vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
      
      * lisp/vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
      Fix docstring typos.
      
      * lisp/vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
      (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
      (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
      (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
      (cvs-dired-use-hook): Fix docstring typos.
      (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
      Doc fixes.
      5983b317
    • Juanma Barranquero's avatar
  2. 11 Mar, 2014 4 commits
    • Stefan Monnier's avatar
      * lisp/simple.el (set-mark): Ensure mark-active is nil if the mark is nil. · 536a17e3
      Stefan Monnier authored
      Deactivate the mark before setting it to nil.
      (activate-mark): Do nothing if region is already active.
      
      Fixes: debbugs:16975
      536a17e3
    • Juanma Barranquero's avatar
      lisp/frameset.el: Let-bind frameset--target-display. · baf8d0ac
      Juanma Barranquero authored
      * frameset.el (frameset--target-display): Remove definition; declare.
      (frameset-save, frameset-restore): Let-bind frameset--target-display.
      baf8d0ac
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance. · 1ea22560
      Stefan Monnier authored
      (advice-add): Add a :advice--pending marker, so advice--make-1 knows
      when the advice is pending.
      (advice-remove): Remove this marker when not needed any more.
      1ea22560
    • Juanma Barranquero's avatar
      lisp/frameset.el: Separate frame reusing from cleaning up. · 4538c058
      Juanma Barranquero authored
      * lisp/desktop.el (desktop-restore-forces-onscreen)
        (desktop-restore-reuses-frames): Use non-keyword values.
        (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
      
      * lisp/frameset.el: Separate options for reusing frames and cleaning up.
        (frameset--reuse-list): Remove definition; declare.
        (frameset--action-map): Declare.
        (frameset--find-frame-if): Doc fix.
        (frameset--restore-frame): Cache frame action.
        (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
        how to clean up the frame list after restoring.  Remove cleaning
        options from REUSE-FRAMES.  Change all keyword values to symbols.
        (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
      4538c058
  3. 10 Mar, 2014 5 commits
  4. 09 Mar, 2014 2 commits
  5. 08 Mar, 2014 2 commits
  6. 07 Mar, 2014 2 commits
  7. 06 Mar, 2014 4 commits
    • Martin Rudalics's avatar
      More window code related fixes and documentation changes. · cac0a1d6
      Martin Rudalics authored
      * window.c (Fother_window_for_scrolling): Check that
      Vother_window_scroll_buffer is a buffer.
      * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
      Fix doc-strings.
      (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
      fit-frame-to-buffer variable.  Fix doc-string.
      (fit-window-to-buffer): Set ONLY argument in call of
      fit-frame-to-buffer.  Fix doc-string.
      * frames.texi (Size and Position): Rewrite entries for
      `fit-frame-to-buffer' and `fit-frame-to-buffer-margins'.  Add
      description for `fit-frame-to-buffer-sizes'.
      * windows.texi (Resizing Windows): Add descriptions for
      pixelwise resizing.  Add entries for `window-resize-pixelwise'
      and `fit-window-to-buffer-horizontally'.  Rewrite
      `fit-window-to-buffer' entry.
      cac0a1d6
    • Michael Albinus's avatar
      * net/tramp.el (tramp-error): VEC-OR-PROC can be nil. · fa965cbf
      Michael Albinus authored
      (tramp-action-password): Clear password cache if needed.
      (tramp-read-passwd): Do not clear password cache.
      
      * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
      cache unless it is the first password request.
      fa965cbf
    • Glenn Morris's avatar
      * lisp/simple.el (newline): Doc tweak. · 03bc753e
      Glenn Morris authored
      * etc/NEWS: Related edit.
      03bc753e
    • Glenn Morris's avatar
      * lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals. · c94e6ee4
      Glenn Morris authored
      Fixes: debbugs:12357
      c94e6ee4
  8. 05 Mar, 2014 7 commits
  9. 04 Mar, 2014 7 commits