Glenn Morris
7d8205619a
* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.
...
Due to the vague doc, it was already being used this way.
2014-11-08 13:29:04 -08:00
Stefan Monnier
acc443ad03
* lisp/emacs-lisp/bytecomp.el: Require cl-extra.
...
* lisp/emacs-lisp/cl-extra.el: Add missing provide.
Fixes: debbugs:18804
2014-10-23 09:31:20 -04:00
Stefan Monnier
be603ee9b6
* lisp/emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
...
all args are copyable.
(=, <, >, <=, >=): Re-enable the optimization.
Fixes: debbugs:18767
2014-10-22 09:38:47 -04:00
Stefan Monnier
d20b72d9fa
Restore temporarily reverted bytecomp change
...
* lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg case.
Fixes: debbugs:18767
2014-10-20 20:23:50 +01:00
Glenn Morris
dfccf2f60d
Temporarily revert previous bytecomp change
2014-10-20 20:19:15 +01:00
Stefan Monnier
41e856b539
* lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
...
case.
Fixes: debbugs:18767
2014-10-19 22:36:22 -04:00
Stefan Monnier
6d81466ac6
* lisp/emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
...
Backported.
Fixes: debbugs:18688
2014-10-14 22:00:20 -04:00
Eli Zaretskii
1d4795e866
Fix display of R2L entries in tabulated-list-mode.
...
lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Force
bidi-paragraph-direction to 'left-to-right'. This fixes
buffer-menu display when the first buffer happens to start with
R2L letter.
2014-10-14 22:29:47 +03:00
Glenn Morris
440cb8f6cc
Tweak previous authors.el change
2014-10-13 15:52:43 -04:00
Glenn Morris
7dbd8a2cb6
Small authors.el updates
...
* lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
(authors-obsolete-files-regexps): Additions.
(authors-no-scan-regexps): New constant.
(authors-no-scan-file-p): New function.
(authors): Respect authors-no-scan-file-p.
2014-10-13 15:32:14 -04:00
Glenn Morris
c8ea4b9f3d
* package.el (package-import-keyring): Create gnupg directory private.
...
See bug#17625#155.
2014-10-01 19:39:50 -04:00
Stefan Monnier
a5426ef3c2
* lisp/emacs-lisp/package.el (package-check-signature): Default to nil if
...
GPG is not available.
(package-refresh-contents): Don't mess with the keyring if we won't
check the signatures anyway.
2014-09-27 12:25:53 -04:00
Stefan Monnier
559b827d8a
* lisp/emacs-lisp/package.el (package-generate-description-file):
...
Properly quote the arguments. Change second arg.
(package--alist-to-plist-args): Rename from package--alist-to-plist and
quote the elements.
(package--make-autoloads-and-stuff): Fix the test for pre-existence of
the *-pkg.el file. Adjust to new calling convention of
package-generate-description-file.
Fixes: debbugs:18332
2014-09-02 15:51:25 -04:00
Michael Albinus
9b6ab1afe4
* emacs-lisp/authors.el (authors-aliases): Addition.
2014-08-27 09:53:58 +02:00
Stefan Monnier
b16a9348e4
* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print result using
...
proper Lisp quoting.
Fixes: debbugs:17934
2014-07-05 15:11:59 -04:00
Leo Liu
cc4f9c83bc
* emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
...
Support lexical-binding.
2014-07-02 13:05:50 +08:00
Daiki Ueno
2493e35c36
* lisp/emacs-lisp/package.el (package--check-signature): (backport)
...
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
2014-06-26 09:47:37 -04:00
Glenn Morris
9fc9c8c639
Remove some function declarations, no longer needed or correct
...
* lisp/emacs-lisp/cl-macs.el (help-add-fundoc-usage):
* lisp/gnus/mm-util.el (help-function-arglist):
Remove outdated declarations.
2014-06-25 23:43:39 -07:00
Glenn Morris
d2301b5d80
authors.el: Add some renamed/moved files
...
* lisp/emacs-lisp/authors.el (authors-valid-file-names)
(authors-renamed-files-alist): Additions.
2014-06-25 20:36:58 -04:00
Stefan Monnier
0a27804c80
* lisp/emacs-lisp/package.el (package-list-unsigned): New var.
...
(package-desc-status): Obey it.
Fixes: debbugs:17625
2014-06-25 13:20:08 -04:00
Stefan Monnier
55d4eba2d0
* lisp/emacs-lisp/smie.el (smie-config--guess): Fix typo.
...
(smie-config-guess): Use smie-config-local so the rules are obeyed.
Fixes: debbugs:17818
2014-06-20 17:10:40 -04:00
Stefan Monnier
500dce5f4d
* lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
...
(smie-indent--hanging-p): Use it.
* lisp/progmodes/sh-script.el (sh-set-shell): Set it.
Fixes: debbugs:17621
2014-06-19 21:05:40 -04:00
Stefan Monnier
bf26b463ea
* lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
...
bumping forward into a closing paren.
Fixes: debbugs:17761
2014-06-13 11:31:17 -04:00
Glenn Morris
879f52734c
* lisp/emacs-lisp/package.el: Comment update
2014-06-05 00:08:42 -07:00
Glenn Morris
e1b3f35f93
Some documentation for signing of packages
...
* 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.
2014-06-04 23:15:44 -07:00
Glenn Morris
910dc8d312
* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.
...
* etc/NEWS: Related edit.
2014-06-02 21:41:20 -07:00
Leo Liu
e41682ae9c
* emacs-lisp/gv.el (window-buffer, window-display-table)
...
(window-dedicated-p, window-hscroll, window-point, window-start):
Fix gv-expander.
Fixes: debbugs:17630
2014-05-31 23:43:43 +08:00
Glenn Morris
ff66db7950
Fix typo in previous
2014-05-29 22:15:29 -07:00
Glenn Morris
ab84733c35
package.el: Fix some version tags
...
* lisp/emacs-lisp/package.el (package-check-signature)
(package-unsigned-archives): Fix :version.
2014-05-29 22:08:10 -07:00
Stefan Monnier
53bc1e2982
* lisp/emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
...
there can't be more than 2 arguments.
Fixes: debbugs:17584
2014-05-27 10:56:03 -04:00
Stefan Monnier
15ad4013c4
* lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.
...
(advice-function-member-p): Tell it to check both names and functions.
(advice--add-function): Adjust call accordingly.
Fixes: debbugs:17531
2014-05-23 12:17:14 -04:00
Dmitry Gutov
b0df8b9535
Replace uses of save-buffer' with
write-region'
...
* 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
2014-05-21 05:14:38 +03:00
Stefan Monnier
7b952d6142
* lisp/emacs-lisp/lisp.el (end-of-defun): Ensure we move.
...
Fixes: debbugs:17274
2014-05-20 14:55:41 -04:00
Stefan Monnier
c42ebc983b
* lisp/emacs-lisp/timer.el (timer-event-handler): Fix last change.
...
Fixes: debbugs:17392
2014-05-18 09:17:10 -04:00
Stefan Monnier
08a2434e2f
* lisp/emacs-lisp/timer.el (timer-event-handler): Don't run if canceled.
...
Fixes: debbugs:17392
2014-05-18 08:58:30 -04:00
David Engster
2aa03011f7
Auto-commit of loaddefs files.
2014-05-14 22:45:05 +02:00
Nicolas Richard
ec264fbb7c
Deal with EIEIO methods without doc strings (Bug#17490).
...
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
methods which do not have a doc string. (Bug#17490)
2014-05-14 22:41:53 +02:00
Stefan Monnier
97100b4379
* lisp/emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
...
into autoloading just because of a silly indirection.
2014-05-12 01:25:34 -04:00
Glenn Morris
e7caef591f
Move lisp/emacs-lisp/find-gc.el to admin/
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00118.html
2014-05-10 18:53:42 -07:00
Stefan Monnier
5d03fb436f
* lisp/emacs-lisp/nadvice.el: Support adding a given function multiple times.
...
(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.
2014-05-10 16:07:01 -04:00
Stefan Monnier
5e87fcb1d7
* lisp/emacs-lisp/package.el (package-compute-transaction): Topological sort.
...
Add optional `seen' argument to detect and break infinite loops.
Fixes: debbugs:16994
2014-05-06 14:11:16 -04:00
Eli Zaretskii
c5d670f5ad
Minor stylistic changes in find-gc.el.
...
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.
2014-05-06 13:29:37 +03:00
Glenn Morris
0c4decaeb1
find-gc.el misc fixes
...
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.
2014-05-05 20:53:31 -07:00
Leo Liu
157e8cfdd8
* emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2014-05-02 19:11:35 +08:00
Leo Liu
00104e5923
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
...
Fix syntax for @.
Fixes: debbugs:17325
2014-04-24 08:55:18 +08:00
Daniel Colascione
543e3c63ac
Require gv early to break eager macro-expansion cycles
...
* lisp/emacs-lisp/cl.el (gv): Require gv early to break eager
macro-expansion cycles.
2014-04-23 17:28:47 -07:00
Stefan Monnier
622eef687c
* lisp/emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2014-04-21 17:18:12 -04:00
Stefan Monnier
929c0500cc
* lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-version of
...
0 like nil.
2014-03-28 18:47:46 -04:00
Juanma Barranquero
b1c870c9e8
lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.
...
(package--archive-contents-from-url): Use url-insert-file-contents;
package-handle-response no longer exists.
2014-03-27 01:20:50 +01:00
Juanma Barranquero
196716cf35
* lisp/emacs-lisp/package.el: Fix bug#16733 (again).
...
(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.
2014-03-26 16:21:17 +01:00