summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print result usingStefan Monnier2014-07-051-1/+1
| | | | | | proper Lisp quoting. Fixes: debbugs:17934
* * 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
* 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
* * 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
* * 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
* * 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/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/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
|
* Deal with EIEIO methods without doc strings (Bug#17490).Nicolas Richard2014-05-141-1/+1
| | | | | * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with methods which do not have a doc string. (Bug#17490)
* * lisp/emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooledStefan Monnier2014-05-121-1/+1
| | | | into autoloading just because of a silly indirection.
* Move lisp/emacs-lisp/find-gc.el to admin/Glenn Morris2014-05-101-149/+0
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00118.html
* * lisp/emacs-lisp/nadvice.el: Support adding a given function multiple times.Stefan Monnier2014-05-101-20/+21
| | | | | | | | | (advice--member-p): If name is given, only compare the name. (advice--remove-function): Don't stop at the first match. (advice--normalize-place): New function. (add-function, remove-function): Use it. (advice--add-function): Pass the name, if any, to advice--remove-function.
* * lisp/emacs-lisp/package.el (package-compute-transaction): Topological sort.Stefan Monnier2014-05-061-9/+19
| | | | | | Add optional `seen' argument to detect and break infinite loops. Fixes: debbugs:16994
* Minor stylistic changes in find-gc.el.Eli Zaretskii2014-05-061-8/+4
| | | | | | lisp/emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs) (trace-unsafe, trace-use-tree): Make parentheses style be according to Emacs style.
* find-gc.el misc fixesGlenn Morris2014-05-051-44/+36
| | | | | | | | The whole file looks obsolete and/or broken. * lisp/emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value. (find-gc-source-files): Update some names. (trace-call-tree): Simplify and update. Avoid predictable temp-file names.
* * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.Leo Liu2014-05-021-1/+1
|
* * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):Leo Liu2014-04-241-1/+1
| | | | | | Fix syntax for @. Fixes: debbugs:17325
* Require gv early to break eager macro-expansion cyclesDaniel Colascione2014-04-231-0/+1
| | | | | * lisp/emacs-lisp/cl.el (gv): Require gv early to break eager macro-expansion cycles.
* * lisp/emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.Stefan Monnier2014-04-211-2/+4
|
* * lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-version ofStefan Monnier2014-03-281-1/+1
| | | | 0 like nil.
* lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.Juanma Barranquero2014-03-271-12/+6
| | | | | (package--archive-contents-from-url): Use url-insert-file-contents; package-handle-response no longer exists.
* * lisp/emacs-lisp/package.el: Fix bug#16733 (again).Juanma Barranquero2014-03-261-39/+10
| | | | | | | | | | | | | (url-http-parse-response, url-http-end-of-headers, url-recreate-url) (url-http-target-url): Remove unused declarations. (package-handle-response): Remove. (package--with-work-buffer): Use url-insert-file-contents and simplify. (package--download-one-archive): Use current-buffer instead of dynamic binding of `buffer'. (describe-package-1): Do not decode readme-string. * lisp/url/url-handlers.el (url-http-parse-response): Add autoload. (url-insert-file-contents): Signal file-error in case of HTTP error.
* Fix bug#16762Dmitry Gutov2014-03-251-10/+8
| | | | | | | | * lisp/emacs-lisp/package.el (package--add-to-archive-contents): Include already installed and built-in packages in `package-archive-contents'. (package-install): Don't include already installed packages in the options on interactive invocation.
* Backport &key-parsing improvement from trunkDaniel Colascione2014-03-241-2/+1
|
* * lisp/emacs-lisp/package.el (package-show-package-list): If the bufferDmitry Gutov2014-03-231-2/+5
| | | | is already displayed in another window, switch to that window.
* Fix keyword argument parsing. Please bootstrap.Daniel Colascione2014-03-221-1/+2
|
* Fix bug#16873Dmitry Gutov2014-03-221-1/+1
| | | | | * lisp/emacs-lisp/package.el (package-desc): Use the contents of the quoted form, not its cdr.
* Fix bug#16826Dmitry Gutov2014-03-211-2/+2
| | | | | | | * lisp/emacs-lisp/package.el (package-compute-transaction): Use `version-list-<=' to compare the requirement version against the package version already to be installed. Update the error message.
* * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to findStefan Monnier2014-03-201-4/+12
| | | | | | | | | | | the docstring of functions advised before dumping. * src/doc.c (store_function_docstring): Warn when we don't know where to put a docstring. (Fsubstitute_command_keys): Don't advertise the fact that text-properties are dropped, since we think it's a bug that we'll fix in 24.5. Fixes: debbugs:16993
* lisp/emacs-lisp/package.el (describe-package-1): Decode commentary (bug#16733).Juanma Barranquero2014-03-191-1/+2
|
* * lisp/emacs-lisp/nadvice.el (advice--interactive-form): New function.Stefan Monnier2014-03-171-18/+16
| | | | | | (advice--make-interactive-form): Use it to avoid (auto)loading function. (advice--make-1, advice-add, advice-remove): Remove braindead :advice-pending hack.
* Fix debbugs#16971Dmitry Gutov2014-03-171-7/+2
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Set `comment-use-syntax' to t to avoid the unnecessary runtime check. Set `comment-start-skip' to a simpler value that doesn't try to check if the semicolon is escaped (this is handled by `syntax-ppss' now). * lisp/progmodes/scheme.el (scheme-mode-variables): Same.
* * package.el (package-menu-mode-map): Replace use of obsolete function alias.Glenn Morris2014-03-141-1/+1
| | | | Tweak menu item text.
* Move some help functions from help-fns.el to help.el, which is preloaded.Glenn Morris2014-03-131-1/+0
| | | | | | | | | | | | | | They are now needed by eg the function `documentation' in some circumstances. * lisp/help-fns.el (help-split-fundoc, help-add-fundoc-usage) (help-function-arglist, help-make-usage): Move from here... * lisp/help.el (help-split-fundoc, help-add-fundoc-usage) (help-function-arglist, help-make-usage): ... to here. * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns. Fixes: debbugs:17001
* * lisp/emacs-lisp/package.el (package--prepare-dependencies):Tom Willemse2014-03-131-0/+2
| | | | | | Accept requirements without explicit version. Fixes: debbugs:14941
* lisp/emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).Jonas Bernoulli2014-03-121-2/+2
|