summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * emacs-lisp/smie.el (smie-config--guess-1): Split from smie-config--guess.Stefan Monnier2014-07-201-44/+48
| | | | (smie-config--guess): Use it.
* * lisp/emacs-lisp/edebug.el: Use nadvice.Stefan Monnier2014-07-201-54/+27
| | | | | | | | | | | | | | (edebug-original-read): Remove. (edebug--read): Rename from edebug-read and add `orig' arg. (edebug-uninstall-read-eval-functions) (edebug-install-read-eval-functions): Use nadvice. (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol) (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee) (edebug-read-string, edebug-read-function): Use just `read'. (edebug-original-debug-on-entry): Remove. (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add `orig' arg. (debug-on-entry): Override with nadvice.
* Indentation, punctuation, and other nitpicks.Stefan Monnier2014-07-201-1/+2
|
* Merge from emacs-24; up to 2014-06-19T14:03:45Z!monnier@iro.umontreal.caGlenn Morris2014-07-081-1/+1
|\
| * * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print result usingStefan Monnier2014-07-051-1/+1
| | | | | | | | | | | | proper Lisp quoting. Fixes: debbugs:17934
* | * lisp/emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.Phil Sainty2014-07-031-4/+20
| | | | | | | | | | | | (narrow-to-defun): New arg include-comments, defaulting to it. Fixes: debbugs:16328
* | Merge from emacs-24; up to 2014-06-15T04:52:34Z!eli@barzilay.orgGlenn Morris2014-07-021-2/+2
|\|
| * * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):Leo Liu2014-07-021-2/+2
| | | | | | | | Support lexical-binding.
| * * lisp/emacs-lisp/package.el (package--check-signature): (backport)Daiki Ueno2014-06-261-10/+14
| | | | | | | | | | | | | | If package-check-signature is allow-unsigned, don't signal error when we can't verify signature because of missing public key. Fixes: debbugs:17625
* | * lisp/emacs-lisp/subr-x.el (string-reverse): Define as obsolete aliasFabián Ezequiel Gallina2014-06-301-3/+1
| | | | | | | | for `reverse'.
* | Get rid of the AUTOGEN_VCS variable in lisp/MakefileGlenn Morris2014-06-301-2/+19
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-ensure-writable): New variable. (autoload-ensure-default-file): Maybe make existing output writable. * lisp/Makefile.in (AUTOGEN_VCS): Remove. (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
* | * lisp/emacs-lisp/subr-x.el (string-reverse): Use `reverse'.Fabián Ezequiel Gallina2014-06-301-1/+1
| |
* | New if-let, when-let, thread-first and thread-last macros.Fabián Ezequiel Gallina2014-06-301-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/subr-x.el (internal--listify, internal--check-binding) (internal--build-binding-value-form, internal--build-binding) (internal--build-bindings): New functions. (internal--thread-argument, thread-first, thread-last) (if-let, when-let): New macros. * test/automated/subr-x-tests.el (subr-x-test-if-let-single-binding-expansion) (subr-x-test-if-let-single-symbol-expansion) (subr-x-test-if-let-nil-related-expansion) (subr-x-test-if-let-malformed-binding, subr-x-test-if-let-true) (subr-x-test-if-let-false, subr-x-test-if-let-bound-references) (subr-x-test-if-let-and-lazyness-is-preserved) (subr-x-test-when-let-body-expansion) (subr-x-test-when-let-single-binding-expansion) (subr-x-test-when-let-single-symbol-expansion) (subr-x-test-when-let-nil-related-expansion) (subr-x-test-when-let-malformed-binding) (subr-x-test-when-let-true, subr-x-test-when-let-false) (subr-x-test-when-let-bound-references) (subr-x-test-when-let-and-lazyness-is-preserved) (subr-x-test-thread-first-no-forms) (subr-x-test-thread-first-function-names-are-threaded) (subr-x-test-thread-first-expansion) (subr-x-test-thread-last-no-forms) (subr-x-test-thread-last-function-names-are-threaded) (subr-x-test-thread-last-expansion): New tests.
* | package.el: Don't signal "no public key" error if allow-unsignedDaiki Ueno2014-06-261-10/+14
| | | | | | | | | | | | | | * emacs-lisp/package.el (package--check-signature): If package-check-signature is allow-unsigned, don't signal error when we can't verify signature because of missing public key (bug#17625).
* | Merge from emacs-24; up to 2014-06-11T19:33:14Z!rgm@gnu.orgGlenn Morris2014-06-252-8/+10
|\|
| * Remove some function declarations, no longer needed or correctGlenn Morris2014-06-251-2/+0
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (help-add-fundoc-usage): * lisp/gnus/mm-util.el (help-function-arglist): Remove outdated declarations.
| * authors.el: Add some renamed/moved filesGlenn Morris2014-06-251-1/+8
| | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-valid-file-names) (authors-renamed-files-alist): Additions.
| * * lisp/emacs-lisp/package.el (package-list-unsigned): New var.Stefan Monnier2014-06-251-6/+10
| | | | | | | | | | | | (package-desc-status): Obey it. Fixes: debbugs:17625
* | * find-func.el (find-function-C-source-directory): Use ↵Glenn Morris2014-06-251-2/+1
| | | | | | | | file-accessible-directory-p
* | Move lisp/emacs-lisp/authors.el to admin/Glenn Morris2014-06-251-1359/+0
| | | | | | | | It is not useful for anything other than maintaining Emacs.
* | Simplify and parallize test/automated MakefileGlenn Morris2014-06-251-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (mostlyclean, clean): Maybe clean test/automated. * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New. * test/automated/Makefile.in: Simplify and parallelize. (XARGS_LIMIT, BYTE_COMPILE_EXTRA_FLAGS) (setwins, compile-targets, compile-main, compile-clean): Remove. (GREP_OPTIONS): Unexport. (.el.elc): Replace with pattern rule. (%.elc, %.log): New pattern rules. (ELFILES, LOGFILES): New variables. (check): Depend on LOGFILES. Call ert-summarize-tests-batch-and-exit. (clean, mostlyclean): New rules. (bootstrap-clean): Simplify. (bootstrap-clean, distclean): Depend on clean. * .bzrignore: Ignore test/automated/*.log. Fixes: debbugs:15991
* | * lisp/electric.el (electric-layout-post-self-insert-function):Dmitry Antipov2014-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert--insert-infos): * lisp/obsolete/vi.el (vi-set-mark): * lisp/term.el (term-handle-scroll): * lisp/textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry): * lisp/gnus/gnus-sum.el (gnus-summary-edit-article-done): * lisp/org/org-mouse.el (org-mouse-do-remotely): * lisp/wid-edit.el (widget-editable-list-value-create): Prefer point-marker to copy-marker of point. * lisp/ob-core.el (org-babel-insert-result): Prefer point-min-marker and point-max-marker.
* | Merge from emacs-24; up to 2014-06-06T02:22:40Z!monnier@iro.umontreal.caGlenn Morris2014-06-211-10/+15
|\|
| * * lisp/emacs-lisp/smie.el (smie-config--guess): Fix typo.Stefan Monnier2014-06-201-6/+5
| | | | | | | | | | | | (smie-config-guess): Use smie-config-local so the rules are obeyed. Fixes: debbugs:17818
| * * lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.Stefan Monnier2014-06-191-4/+10
| | | | | | | | | | | | | | (smie-indent--hanging-p): Use it. * lisp/progmodes/sh-script.el (sh-set-shell): Set it. Fixes: debbugs:17621
* | * etc/NEWS: New Tramp method "nc".Robert Brown (tiny change)2014-06-191-26/+38
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun. (lisp-string-in-doc-position-p): New function, extracted from lisp-font-lock-syntactic-face-function. (lisp-font-lock-syntactic-face-function): Use them. Fixes: debbugs:9130
* | Merge from emacs-24; up to 2014-06-03T06:51:18Z!eliz@gnu.orgGlenn Morris2014-06-141-1/+4
|\|
| * * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info whenStefan Monnier2014-06-131-1/+4
| | | | | | | | | | | | bumping forward into a closing paren. Fixes: debbugs:17761
* | Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.eduGlenn Morris2014-06-071-14/+24
|\|
| * * lisp/emacs-lisp/package.el: Comment updateGlenn Morris2014-06-051-2/+0
| |
| * Some documentation for signing of packagesGlenn Morris2014-06-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/package.texi (Package Menu, Package Installation): Mention signed packages. * doc/lispref/package.texi (Package Archives): Mention signing packages. * lisp/emacs-lisp/package.el (package-check-signature) (package-unsigned-archives): Doc fixes. * etc/NEWS: Related edits.
| * * lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.Glenn Morris2014-06-021-10/+17
| | | | | | | | * etc/NEWS: Related edit.
* | * emacs-lisp/tabulated-list.el (tabulated-list-print): Only callMario Lang2014-06-061-1/+2
| | | | | | | | `recenter' if `current-buffer' is equal to `window-buffer'.
* | * emacs-lisp/cl-macs.el (cl-macrolet): Simplify last change.Leo Liu2014-06-061-9/+7
| |
* | * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.Leo Liu2014-06-061-7/+9
| |
* | Merge from emacs-24; up to 2014-05-29T17:16:00Z!dmantipov@yandex.ruGlenn Morris2014-06-013-16/+23
|\|
| * * emacs-lisp/gv.el (window-buffer, window-display-table)Leo Liu2014-05-311-6/+11
| | | | | | | | | | | | | | (window-dedicated-p, window-hscroll, window-point, window-start): Fix gv-expander. Fixes: debbugs:17630
| * Fix typo in previousGlenn Morris2014-05-291-1/+1
| |
| * package.el: Fix some version tagsGlenn Morris2014-05-291-3/+3
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-check-signature) (package-unsigned-archives): Fix :version.
| * * lisp/emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assumeStefan Monnier2014-05-271-8/+10
| | | | | | | | | | | | there can't be more than 2 arguments. Fixes: debbugs:17584
* | * lisp/emacs-lisp/package.el (package-generate-autoloads):Thien-Thi Nguyen2014-05-281-0/+1
| | | | | | | | Inhibit backup files.
* | * lisp/subr.el (zerop): Move from C. Add compiler-macro.Stefan Monnier2014-05-271-9/+0
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove. * src/data.c (Fzerop): Move to Elisp. (syms_of_data): Don't defsubr it. * src/keyboard.c (echo_keystrokes_p): New function. (read_char, record_menu_key, read_key_sequence): Use it. Fixes: debbugs:17475
* | Auto-commit of loaddefs files.Glenn Morris2014-05-261-1/+1
| |
* | Merge from emacs-24; up to 2014-05-26T10:21:18Z!rgm@gnu.orgGlenn Morris2014-05-255-65/+86
|\|
| * * lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.Stefan Monnier2014-05-231-6/+10
| | | | | | | | | | | | | | (advice-function-member-p): Tell it to check both names and functions. (advice--add-function): Adjust call accordingly. Fixes: debbugs:17531
| * Replace uses of `save-buffer' with `write-region'Dmitry Gutov2014-05-211-9/+8
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package--download-one-archive): Use `write-region' instead of `save-buffer' to avoid running various hooks. (describe-package-1): Same. Insert newline at the end of the buffer if appropriate. Fixes: debbugs:17155
| * * lisp/emacs-lisp/lisp.el (end-of-defun): Ensure we move.Stefan Monnier2014-05-201-13/+23
| | | | | | | | Fixes: debbugs:17274
| * * lisp/emacs-lisp/timer.el (timer-event-handler): Fix last change.Stefan Monnier2014-05-181-1/+1
| | | | | | | | Fixes: debbugs:17392
| * * lisp/emacs-lisp/timer.el (timer-event-handler): Don't run if canceled.Stefan Monnier2014-05-181-36/+44
| | | | | | | | Fixes: debbugs:17392
| * Auto-commit of loaddefs files.David Engster2014-05-141-1/+1
| |