- 27 Jul, 2013 1 commit
-
-
Xue Fuqiao authored
* lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff. * doc/emacs/maintaining.texi (VC Directory Commands): Mention `D' and `L' in vc-dir.
-
- 26 Jul, 2013 10 commits
-
-
Eli Zaretskii authored
src/process.c (Fprocess_list): Doc fix. lisp/simple.el (list-processes): Doc fix.
-
Stefan Monnier authored
`base' arg of backtrace-frame.
-
Juanma Barranquero authored
-
Stefan Monnier authored
(edebug-eval): Use backtrace-eval. (edebug--display, edebug--recursive-edit): Don't let-bind the edebug-outer-* vars that keep track of variables we locally let-bind. (edebug-outside-excursion): Don't restore outside values of locally let-bound vars. (edebug--display): Use user-error. (cl-lexical-debug, cl-debug-env): Remove.
-
Juanma Barranquero authored
We want to be sure that new frames are visible before deleting any remaining ones.
-
Matthias Meulien authored
-
Richard M. Stallman authored
* epa.el (epa-mail-aliases): New option. * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs. Bind inhibit-read-only so read-only text doesn't ruin everything. (epa-mail-default-recipients): New subroutine broken out. Handle epa-mail-aliases.
-
Stefan Monnier authored
* lisp/emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-* vars, except for debugger-outer-match-data. (debugger-frame-number): Move check for "on a function call" from callers into it. Add `skip-base' argument. (debugger-frame, debugger-frame-clear): Simplify accordingly. (debugger-env-macro): Only reset the state stored in non-variables, i.e. current-buffer and match-data. (debugger-eval-expression): Rewrite using backtrace-eval. * lisp/subr.el (internal--called-interactively-p--get-frame): Remove. (called-interactively-p): * lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new `base' arg of backtrace-frame instead. * src/eval.c (set_specpdl_old_value): New function. (unbind_to): Minor simplification. (get_backtrace_frame): New function. (Fbacktrace_frame): Use it. Add `base' argument. (backtrace_eval_unrewind, Fbacktrace_eval): New functions. (syms_of_eval): Export backtrace-eval. * src/xterm.c (x_focus_changed): Simplify.
-
Glenn Morris authored
(align-region): Explicit error if subexpression missing/does not match. Fixes: debbugs:14857
-
Glenn Morris authored
Fixes: debbugs:14858
-
- 25 Jul, 2013 4 commits
-
-
Martin Rudalics authored
* window.el (display-buffer): In display-buffer bind split-window-keep-point to t, bug#14829.
-
Juanma Barranquero authored
(desktop--select-frame, desktop--sort-states, desktop-restore-frames): Deobfuscate access to desktop--mini values.
-
Juanma Barranquero authored
(desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm) (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames) (desktop--select-frame, desktop--sort-states, desktop-restore-frames): Change accordingly.
-
Juanma Barranquero authored
(desktop--make-frame): Do not pass the `fullscreen' parameter to modify-frame-parameters if the value has not changed. (desktop--make-frame): On cl-delete-if call, check parameter name, not full parameter.
-
- 24 Jul, 2013 12 commits
-
-
Juanma Barranquero authored
(desktop-restore-frames): Warn when deleting an existing frame failed.
-
Glenn Morris authored
Fixes: debbugs:14929
-
Michael Albinus authored
* net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): Remove functions. * autorevert.el (auto-revert-use-notify): (auto-revert-notify-add-watch): * net/tramp.el (tramp-file-name-for-operation): * net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-sh.el (tramp-sh-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Remove `file-notify-supported-p' entry.
-
Xue Fuqiao authored
* lisp/ido.el (ido-fractionp): (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode) (ido-max-file-prompt-width, ido-unc-hosts-cache) (ido-max-directory-size, ido-max-dir-file-cache) (ido-decorations): Doc fix.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
with lpr- versions.
-
Stefan Monnier authored
checked with memq. Fixes: debbugs:14935
-
Stefan Monnier authored
(revert-buffer-preserve-modes): Declare var to provide access to the `preserve-modes' argument. (revert-buffer): Let-bind it. (revert-buffer--default): New function, extracted from revert-buffer.
-
Stefan Monnier authored
(print-region-function): Don't default to nil. (lpr-print-region): New function, extracted from print-region-1. Check lpr's return value and signal an error in case of problem. (print-region-1): Use it. * lisp/ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-* versions instead. (ps-printer-name): Default to nil. (ps-printer-name-option): Default to lpr-printer-switch. (ps-print-region-function): Don't default to nil. (ps-postscript-code-directory): Simplify default. (ps-do-despool): Use lpr-print-region to properly check the outcome. (ps-string-list, ps-eval-switch, ps-flatten-list) (ps-flatten-list-1): Remove. (ps-multibyte-buffer): Avoid setq. * lisp/dos-w32.el (direct-print-region-helper): Use proper regexp operators. (print-region-function, ps-print-region-function): Don't set them here.
-
Xue Fuqiao authored
-
Michael Mauger authored
(sql-product-alist): Improve oracle :prompt-cont-regexp. (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions. (sql-interactive-remove-continuation-prompt): Rewrite, use functions above. Fix continuation prompt and complete output line handling. (sql-redirect-one, sql-execute): Use `read-only-mode' on redirected output buffer. (sql-mode): Restore deleted code (Bug#13591).
-
- 23 Jul, 2013 4 commits
-
-
Juanma Barranquero authored
-
Michael Albinus authored
* net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
-
Juanma Barranquero authored
(desktop-clear): Simplify; remove useless checks against invalid buffer names. (desktop-list*): Use cl-list*. (desktop-buffer-info, desktop-create-buffer): Simplify.
-
Leo Liu authored
value. Fixes: debbugs:14933
-
- 22 Jul, 2013 7 commits
-
-
Stefan Monnier authored
extracted from autoload--insert-text. (autoload--insert-text): Remove. (autoload--print-cookie-text): New function, extracted from autoload--insert-cookie-text. (autoload--insert-cookie-text): Remove. (autoload-generate-file-autoloads): Adjust calls accordingly.
-
Stefan Monnier authored
(winner-mode): Simplify accordingly.
-
Stefan Monnier authored
not constant. Don't use `cl-member' for the base case.
-
Stefan Monnier authored
(subword-forward-regexp): Make it a constant. Wrap optional \\W in its own group. (subword-backward-regexp): Make it a constant. (subword-forward-internal): Don't treat a trailing capital as the beginning of a word. * test/automated/subword-tests.el: New file. Fixes: debbugs:13758
-
Ari Roponen authored
Don't modify the global value of tabulated-list-revert-hook.
-
Juanma Barranquero authored
(desktop-before-saving-frames-functions): New hook. (desktop--process-minibuffer-frames): Set desktop-mini parameter only for frames being saved. Rename from desktop--save-minibuffer-frames. (desktop-save-frames): Run hook desktop-before-saving-frames-functions. Do not save frames with non-nil `desktop-dont-save' parameter. Filter out deleted frames. (desktop--find-frame): Use cl-find-if. (desktop--select-frame): Use cl-(first|second|third) to access values of desktop-mini. (desktop--make-frame): Use cl-delete-if. (desktop--sort-states): Fix sorting of minibuffer-owning frames. (desktop-restore-frames): Use cl-(first|second|third) to access values of desktop-mini. Look for visible frame at the end, not while restoring frames.
-
Juanma Barranquero authored
(dired-mark-unmarked-files, dired-virtual, dired-guess-default) (dired-mark-sexp, dired-filename-at-point): Use string-match-p, looking-at-p.
-
- 21 Jul, 2013 2 commits
-
-
Juanma Barranquero authored
(desktop-saved-frame-states): Rename from desktop--saved-states; all users changed. (desktop-save-frames): Rename from desktop--save-frames. Do not save state to desktop file. (desktop-save): Save desktop-saved-frame-states to desktop file and reset to nil. (desktop-restoring-frames-p): New function. (desktop-restore-frames): Use it. Rename from desktop--restore-frames. (desktop-read): Use desktop-restoring-frames-p. Do not try to fix buffer-lists when restoring frames. Suggested by Martin Rudalics.
-
Juanma Barranquero authored
-