summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
...
* * lisp/gnus/auth-source.el: Silence lexical-binding warnings...(auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to just VAR. (auth-source-backend-parse): Use make-instance. (auth-source-search): Remove unused key args. Remove unused vars `accessor-key' and `backend'. Avoid `eval'. (auth-source-search-backends): Use slot names rather than their initarg. (auth-source-netrc-create): (auth-source-delete): (auth-source-secrets-create, auth-source-plstore-search) (auth-source-macos-keychain-create, auth-source-macos-keychain-search) (auth-source-plstore-create, auth-source-netrc-search) (auth-source-netrc-parse): Remove unused key args. (auth-source-forget+): Simplify the arglist. (auth-source-macos-keychain-search-items) (auth-source-token-passphrase-callback-function): Mark unused args. (auth-source-epa-extract-gpg-token): Remove unused var `plain'. (pp-escape-newlines): Declare. (auto-source--symbol-keyword): New function. (auth-source-plstore-create, auth-source-netrc-create) (auth-source-netrc-normalize): Use it. (auth-source-netrc-search): Don't pass :delete to auth-source-netrc-parse since it doesn't use it. (auth-source-plstore-create, auth-source-netrc-create): Use plist-get symbol-value to index in keyword args. (auth-source-macos-keychain-result-append): Avoid setq. (auth-source-netrc-create): Remove unused vars `file' and `add'. (auth-source-user-or-password): Remove unused var `cname'. Stefan Monnier2015-10-291-103/+94
* ; lisp/help-fns.el: Fix typos in commentsJuanma Barranquero2015-10-301-2/+2
* * lisp/dired.el (dired-unmark-all-files-query): Declare....(dired-unmark-all-files): Let-bind it and use instead of ‘query’. (Bug#21746) Juri Linkov2015-10-301-1/+6
* * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol...to go to the beginning of text line instead of command line. http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html Juri Linkov2015-10-301-1/+1
* ; * src/lread.c (syms_of_lread) <load-path>: Improve the doc string.Eli Zaretskii2015-10-291-3/+5
* ; Improve documentation of 'unhandled-file-name-directory'...* doc/lispref/files.texi (Magic File Names): Better wording for the last change in the documentation of 'unhandled-file-name-directory'. Eli Zaretskii2015-10-291-6/+6
* Fix encoding of saving *Help* buffers...* lisp/help-fns.el (describe-function-1): If we use curved quotes, set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780) Eli Zaretskii2015-10-291-1/+6
* * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context...(cl--generic-derived-specializers): New function. (cl--generic-derived-generalizer): New generalizer. (cl-generic-generalizers): New specializer (derived-mode MODE). (cl--generic-split-args): Apply the rewriter, if any. (cl-generic-define-context-rewriter): New macro. (major-mode): Use it to define a new context-rewriter, so we can write `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'. * lisp/frame.el (window-system): New context-rewriter so we can write `(window-system VAL)' instead of (window-system (eql VAL)). (cl--generic-split-args): Apply the rewriter, if any. (frame-creation-function): Use the new syntax. * lisp/term/x-win.el (window-system-initialization) (handle-args-function, frame-creation-function) (gui-backend-set-selection, gui-backend-selection-owner-p) (gui-backend-selection-exists-p, gui-backend-get-selection): * lisp/term/w32-win.el (window-system-initialization) (handle-args-function, frame-creation-function) (gui-backend-set-selection, gui-backend-get-selection) (gui-backend-selection-owner-p, gui-backend-selection-exists-p): * lisp/term/pc-win.el (gui-backend-get-selection) (gui-backend-selection-exists-p, gui-backend-selection-owner-p) (gui-backend-set-selection, window-system-initialization) (frame-creation-function, handle-args-function): * lisp/term/ns-win.el (window-system-initialization) (handle-args-function, frame-creation-function) (gui-backend-set-selection, gui-backend-selection-exists-p) (gui-backend-get-selection): * lisp/startup.el (handle-args-function): * lisp/term/xterm.el (gui-backend-get-selection) (gui-backend-set-selection): Use the new syntax. Stefan Monnier2015-10-298-37/+86
* * test/indent/css-mode.css: Add tests for url(...) syntax.Stefan Monnier2015-10-291-1/+3
* * lisp/emacs-lisp/smie.el: Use `declare' for `pure'...(smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2, smie-prec2->grammar): Use `declare'. Stefan Monnier2015-10-291-4/+4
* * lisp/emacs-lisp/cl-generic.el: Accomodate future changes...(cl--generic-generalizer): Add `name' field. (cl-generic-make-generalizer): Add corresponding `name' argument. (cl-generic-define-generalizer): New macro. (cl--generic-head-generalizer, cl--generic-eql-generalizer) (cl--generic-struct-generalizer, cl--generic-typeof-generalizer) (cl--generic-t-generalizer): Use it. (cl-generic-ensure-function): Add `noerror' argument. (cl-generic-define): Use it so we don't follow aliases. (cl-generic-define-method): Preserve pre-existing ordering of methods. (cl--generic-arg-specializer): New function. (cl--generic-cache-miss): Use it. (cl-generic-generalizers): Only fset a temporary definition during bootstrap. (cl--generic-struct-tag, cl--generic-struct-specializers): Allow extra arguments. * lisp/emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer) (eieio--generic-static-object-generalizer): Use cl-generic-define-generalizer. (eieio--generic-static-symbol-specializers): Allow extra arguments. * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer) (eieio--generic-subclass-generalizer): Use cl-generic-define-generalizer. (eieio--generic-subclass-specializers): Allow extra arguments. Stefan Monnier2015-10-293-77/+100
* * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.Stefan Monnier2015-10-291-1/+4
* Add "afp" method to Tramp...* doc/misc/tramp.texi (GVFS based methods): Describe `afp' method. * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method. (tramp-gvfs-handle-expand-file-name) (tramp-gvfs-handler-mounted-unmounted) (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec) (tramp-gvfs-maybe-open-connection): Support also "afp". (tramp-gvfs-handle-file-attributes): Handle the case of empty "owner::user" and "owner::group" entries. Michael Albinus2015-10-293-29/+61
* Handle negative coordinates in ‘x_calc_absolute_position’...* src/w32term.c (x_calc_absolute_position): Find display origin to allow for negative coordinates. Andy Moreton2015-10-291-0/+33
* (internal--syntax-propertize): Save match-data here (bug#21766)...* lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data. * lisp/simple.el (delete-trailing-whitespace): Undo last change. Stefan Monnier2015-10-282-8/+6
* Don't require default-directory to end with a slash...* doc/lispref/files.texi (Magic File Names): Document the change in unhandled-file-name-directory. * lisp/url/url-handlers.el (url-handler-unhandled-file-name-directory): Update accordingly. * src/buffer.c (default-directory): Update the docsting. * src/fileio.c (unhandled-file-name-directory): Default to calling `file-name-as-directory' (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html). Dmitry Gutov2015-10-295-5/+10
* * lisp/isearch.el: Delete some outdated commentsArtur Malabarba2015-10-291-5/+1
* Fix eshell/clear not working if the output has a small line count...* lisp/eshell/esh-mode.el: (eshell/clear): Use (window-size) as the number of newlines to be inserted. This fixes the issue where eshell/clear wouldn't work if the prompt was not at the bottom of the window, and the output wasn't too long. Vibhav Pant2015-10-291-3/+2
* ; * etc/NEWS: Document `search-default-regexp-mode'Artur Malabarba2015-10-281-0/+2
* * lisp/files.el (write-file): Use vc-refresh-state.Stefan Monnier2015-10-281-1/+1
* * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.Stefan Monnier2015-10-281-1/+1
* * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.Stefan Monnier2015-10-281-1/+1
* * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations...(macroexp-unprogn): Make sure we never return an empty list. (macroexp-if): Remove unused (and unsafe) optimization. Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does occur occasionally. Stefan Monnier2015-10-281-13/+25
* Fix bug#21766 and add test...* lisp/simple.el (delete-trailing-whitespace): Save match data when calling `skip-syntax-backward'. * test/automated/simple-test.el (simple-delete-trailing-whitespace): New test. Juanma Barranquero2015-10-282-1/+24
* * doc/lispref/sequences.texi (Sequence Functions): Fix typoArtur Malabarba2015-10-281-1/+1
* * src/dispnew.c (init_display): Simplify overflow checking.Paul Eggert2015-10-281-2/+2
* * lisp/character-fold.el (character-fold-to-regexp): Fix case...where string ends in space Artur Malabarba2015-10-281-6/+11
* * lisp/emacs-lisp/seq.el (seq-mapn): New function...* doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn Artur Malabarba2015-10-282-1/+34
* * lisp/character-fold.el: Make compatible with lax-whitespace...(character-fold-to-regexp): Rework internals to play nice with lax-whitespacing. When the user types a space, we want to match the table entry for ?\s, which is generally a regexp like "[ ...]". However, the `search-spaces-regexp' variable doesn't "see" spaces inside these regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to manually expose a space). Furthermore, the lax search engine acts on a bunch of spaces, not on individual spaces, so if the string contains sequential spaces like " ", we need to keep them grouped together like this: "\\( \\|[ ...][ ...]\\)". Artur Malabarba2015-10-281-4/+26
* * lisp/isearch.el: Refactor momentary messages...(isearch--momentary-message): New function. (isearch-toggle-lax-whitespace, isearch-toggle-case-fold) (isearch-toggle-invisible): Use it. Artur Malabarba2015-10-281-29/+27
* * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'...(isearch-define-mode-toggle): New macro. (isearch-toggle-invisible): Renamed to `isearch-define-mode-toggle'. (isearch-toggle-case-fold, isearch-toggle-invisible) (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define with `isearch-define-mode-toggle'. Artur Malabarba2015-10-281-58/+47
* Avoid using `add-to-list' on a let-local var in tramp-smb.el...* lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun. * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it. Michael Albinus2015-10-282-4/+12
* Merge branch 'master' of /Volumes/HD2/build/emacs-git-sshAnders Lindgren2015-10-281-2/+5
|\
| * Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacsAnders Lindgren2015-10-281-2/+5
| |\
| | * Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076...* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups' does not exist in XEmacs 21.4. Michael Albinus2015-10-281-2/+5
* | | Merge branch 'master' of /Volumes/HD2/build/emacs-git-sshAnders Lindgren2015-10-2835-654/+830
|\| |
| * | Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/emacsAnders Lindgren2015-10-2831-648/+760
| |\|
| | * * src/process.c (Fget_buffer_process): Improve docstring...Document the fact that it doesn't return dead processes. Artur Malabarba2015-10-281-2/+4
| | * * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.Nicolas Petton2015-10-281-2/+2
| | * Prettify TeX macros not ending in a word char...* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Prettify macros which don't end in a word character. Tassilo Horn2015-10-281-12/+18
| | * ; Revert "Don't declare vc-exec-after anymore"...This reverts commit 5e4395544c184d9a8702cf05c7aee9329b0b9482. (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02009.html) Dmitry Gutov2015-10-287-0/+19
| | * Pipe Hg commit descriptions through 'tabindent'...* lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description through 'tabindent'. (vc-hg-log-view-mode): Set tab-width to 2 locally. (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html) Dmitry Gutov2015-10-281-1/+2
| | * * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var...* lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use `delete-dups'. * lisp/net/tramp.el (auto-save-file-name-transforms): Declare. Stefan Monnier2015-10-272-5/+3
| | * * lisp/international/ccl.el: Use lexical-binding...(ccl-compile-if): Remove unused var `false-ic'. (ccl-compile-write-repeat): Remove unused var `i'. (ccl-compile-map-single): Remove unused var `id'. (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the dynamic var `ccl-code'. Stefan Monnier2015-10-271-30/+29
| | * * lisp/json.el (json-new-object): Optimize trivial `list' callStefan Monnier2015-10-271-1/+1
| | * * lisp/help.el: Fix bug with incorrect arglist string...(help-add-fundoc-usage): Don't mistake a mis-formatted string for a list. Stefan Monnier2015-10-271-3/+4
| | * * lisp/gnus/gnus-topic.el: Silence some warnings...(gnus-topic-prepare-topic): Remove unused var `topic'. (gnus-topic-remove-topic): Mark unused arg `hide'. (gnus-tmp-header): Declare. (gnus-topic-goto-missing-group): Remove unused var `entry'. (gnus-topic-unmark-topic): Mark unused arg `dummy'. (gnus-topic-copy-matching): Mark unused arg `copyp'. Move initialization of `topic' into its declaration. Stefan Monnier2015-10-271-11/+10
| | * Minor CEDET fixes...* lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call): Handle warnings from gtags about invalid options. (cedet-gnu-global-create/update-database): Do incremental update properly. * lisp/cedet/ede/generic.el (ede-enable-generic-projects): Get monotone root right. Stephen Leake2015-10-272-8/+10
| | * ; Fix comments in file-notify-tests.elMichael Albinus2015-10-271-4/+4
| | * Fall back to polling in autorevert when needed...* lisp/autorevert.el (auto-revert-notify-handler): When a `stopped' event arrives from file notification, fall back to polling. * test/automated/file-notify-tests.el (file-notify-test03-autorevert): Extend test for polling when file notification ceases to work. Michael Albinus2015-10-272-32/+76