Artur Malabarba
5c9ad35f1e
doc-view.el (doc-view-kill-proc-and-buffer): Obsolete.
...
Use image-kill-buffer instead.
(doc-view-mode): Add `doc-view-kill-proc' to `kill-buffer-hook'.
2015-02-06 07:44:02 -02:00
Artur Malabarba
e14961fca1
image-mode.el (image-kill-buffer): New command bound to k.
2015-02-06 07:43:50 -02:00
Thomas Fitzsimmons
57abaae56a
net/ldap.el (ldap-search-internal): Fix docstring
2015-02-06 00:51:45 -05:00
Lars Magne Ingebrigtsen
3fc745d5de
Fix json error-definition condition build error
...
* lisp/subr.el (define-error): The error conditions may be constant
lists, so use `append' to concatenate them.
2015-02-06 14:04:13 +11:00
Wolfgang Jenkner
bc4996520a
Respect the :end-of-capability setting
...
* lisp/net/network-stream.el (network-stream-open-tls): Respect the
:end-of-capability setting.
2015-02-06 13:43:58 +11:00
Artur Malabarba
f4d7de6f9c
emacs-lisp/package.el: Add missing (require 'subr-x)
2015-02-05 21:41:02 -02:00
Artur Malabarba
a844b94074
emacs-lisp/package.el (package-delete): Don't always delesect.
2015-02-05 20:47:28 -02:00
Artur Malabarba
b2c4997c82
emacs-lisp/package.el (package-menu-mark-install): Mark dependency.
2015-02-05 20:33:23 -02:00
Artur Malabarba
3c5ac25702
emacs-lisp/package.el (package-menu-execute): Delete packages in order.
2015-02-05 20:12:47 -02:00
Simen Heggestøyl
6b1d71150b
* lisp/textmodes/css-mode.el: Handle hyphenated vars
...
Fixes: debbugs:19263
* lisp/textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
hyphenated.
2015-02-05 15:35:36 -05:00
Simen Heggestøyl
8c80eb4817
* lisp/textmodes/css-mode.el: Handle variable interpolation
...
Fixes: debbugs:19751
* lisp/textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
of variable interpolation.
2015-02-05 15:29:54 -05:00
Era Eriksson
6aa04a5570
* lisp/json.el (json-end-of-file): New error.
...
Fixes: debbugs:19768
(json-pop, json-read): Use it.
2015-02-05 14:52:03 -05:00
Stefan Monnier
f06902840e
Merge branch 'dynamic-docstrings' into trunk
2015-02-05 14:44:26 -05:00
Stefan Monnier
72229f17ef
* lisp/emacs-lisp/eieio*.el: Use (:documentation ...) feature
...
* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
special (:documentation ...) feature.
* lisp/emacs-lisp/eieio-core.el (eieio-make-class-predicate)
(eieio-make-child-predicate): Same.
(eieio-copy-parents-into-subclass): Remove unused arg.
(eieio-defclass-internal): Adjust call accordingly and remove redundant
`pname' var.
(eieio--slot-name-index): Remove unused arg `obj' and adjust all
callers accordingly.
2015-02-05 14:43:38 -05:00
Stefan Monnier
ad5a7c86d0
Add (:documentation <form>) for dynamically-generated docstrings
...
* lisp/emacs-lisp/bytecomp.el:
(byte-compile-initial-macro-environment): Use macroexp-progn.
(byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
(byte-compile-file-form-defvar-function): Rename from
byte-compile-file-form-define-abbrev-table.
(defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
(byte-compile): Use byte-compile-top-level rather than
byte-compile-lambda so we can compile non-values.
(byte-compile-form): Add warnings for failed uses of lexical vars via
quoted symbols.
(byte-compile-unfold-bcf): Improve message for failed inlining.
(byte-compile-make-closure): Handle new format of internal-make-closure
for dynamically-generated docstrings.
* lisp/emacs-lisp/cconv.el (cconv--convert-function):
Add `docstring' argument.
(cconv-convert): Use it to handle the new (:documentation ...) form.
(cconv-analyze-form): Handle the new (:documentation ...) form.
* src/eval.c (Ffunction): Handle the new (:documentation ...) form.
(syms_of_eval): Declare `:documentation'.
2015-02-05 14:28:16 -05:00
Artur Malabarba
55eb72816b
help-fns.el (describe-function-or-variable): New function on `C-h o'
2015-02-05 15:29:49 -02:00
Stefan Monnier
10927c1a0f
* lisp/emulation/viper.el: A couple of docstring format tweaks
2015-02-05 11:05:07 -05:00
Stefan Monnier
ab51cc7dd6
* lisp/delsel.el: Deprecate the `kill' option. Use lexical-binding.
...
(open-line): Delete like all other commands, instead of killing.
(delete-active-region): Don't define any return any value.
2015-02-05 11:02:10 -05:00
Stefan Monnier
14500c83b8
* lisp/doc-view.el: Add some comments about desktop support
2015-02-05 10:26:57 -05:00
Ted Zlatanov
ff7072d531
lisp/gnus/gnus-start.el: always check newsrc timestamp when saving it
2015-02-05 11:51:07 +00:00
Timo Lilja
df1e4ea210
lisp/gnus/mail-source.el (mail-source-call-script): Pop up an error buffer if a mail script fails
2015-02-05 07:52:15 +00:00
Lars Magne Ingebrigtsen
4f6901c3fc
lisp/gnus/gnus-sum.el (gnus-extra-headers): Add X-GM-LABELS
2015-02-05 04:48:28 +00:00
Lars Magne Ingebrigtsen
f518a387c9
lisp/gnus/nnimap.el (nnimap-request-group-scan): Further `M-g' group fixes
2015-02-05 04:02:46 +00:00
Vincent Bernat
2c6d035968
[Gnus] Make `M-g' in the group buffer work again
...
* gnus-int.el (gnus-request-group-scan): Use the correct function name.
* nnimap.el (nnimap-request-group-scan): Fix the function name.
2015-02-05 03:59:47 +00:00
Lars Magne Ingebrigtsen
742938f1e6
lisp/gnus/gnus-sum.el (gnus-select-newsgroup): nnimap group selection fix
2015-02-05 03:50:39 +00:00
Stefan Monnier
683d4b6e92
* lisp/progmodes/python.el: Preserve compatibility with Emacs-24
...
(python-mode): Don't assume eldoc-documentation-function has a non-nil
default.
2015-02-04 21:47:22 -05:00
Sam Steingold
4188e3cc2b
Avoid the error when computing top-level indentation.
...
* lisp/progmodes/python.el (python-indent-calculate-indentation):
Do not apply max to an empty list
2015-02-04 16:26:43 -05:00
Stefan Monnier
8e010cf6e7
* lisp/emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
2015-02-04 14:45:07 -05:00
Stefan Monnier
df179332d4
* lisp/gnus/mm-util.el (mm-with-unibyte-current-buffer): Don't emit a warning.
...
We already get an obsolescence message. Use `declare'.
2015-02-04 14:44:24 -05:00
Stefan Monnier
ebbdc6c30d
* lisp/textmodes/flyspell.el: Use lexical-binding and cl-lib.
...
(mail-mode-flyspell-verify): Fix last change.
(flyspell-external-point-words, flyspell-large-region):
Avoid add-to-list on local vars.
2015-02-04 14:43:47 -05:00
Tassilo Horn
da9c6486d2
Fix typo causing a void-variable error: pkg-desc
...
* emacs-lisp/package.el (package-installed-p): Fix typo causing
void-variable error.
2015-02-04 20:39:16 +01:00
Stefan Monnier
73b17f7c2b
* lisp/cedet: Use cl-generic instead of EIEIO's defgeneric/defmethod
...
* lisp/cedet/**/*.el: Mechanically replace all calls to defmethod/defgeneric
by calls to cl-defmethod/cl-defgeneric.
* lisp/cedet/srecode/table.el:
* lisp/cedet/srecode/fields.el:
* lisp/cedet/srecode/dictionary.el:
* lisp/cedet/srecode/compile.el:
* lisp/cedet/semantic/debug.el:
* lisp/cedet/semantic/db-ref.el:
* lisp/cedet/ede/base.el:
* lisp/cedet/ede/auto.el:
* lisp/cedet/ede.el: Require `cl-generic'.
2015-02-04 13:49:49 -05:00
Artur Malabarba
102a21d689
emacs-lisp/package.el (package-reinstall): Accept package-desc objects.
2015-02-04 15:17:06 +00:00
Artur Malabarba
5687ac9f01
emacs-lisp/package.el (package-install): Mark dependencies as selected.
...
In particular, when given a package-desc object which is already
installed, the package is not downloaded again.
2015-02-04 15:04:46 +00:00
Artur Malabarba
5b83f03725
emacs-lisp/package.el (package-delete): Always unselect package.
2015-02-04 11:01:02 -02:00
Eric Abrahamsen
25224ab284
lisp/gnus/nnir.el: Revert "Enable non-ASCII IMAP searches"
2015-02-04 05:45:02 +00:00
Artur Malabarba
200a47d45c
emacs-lisp/package.el (package--read-pkg-desc): Fix tar-desc reference.
2015-02-03 18:14:28 -02:00
Artur Malabarba
2a4a5069a6
emacs-lisp/package.el (package-menu-execute): Offer to remove packages.
2015-02-03 17:51:39 -02:00
Artur Malabarba
504fada7e7
emacs-lisp/package.el (package-desc-status): Add "dependency" status to Package Menu.
2015-02-03 13:56:59 +00:00
Artur Malabarba
c184e85ea2
emacs-lisp/package.el (package--user-selected-p): New function.
...
Populates `package-selected-packages' if necessary, and then checks if
symbol PKG is contained in it.
2015-02-03 13:54:41 +00:00
Artur Malabarba
2a4a94db1a
emacs-lisp/package.el (package--get-deps): delete-dups when ONLY is nil.
2015-02-03 11:36:10 +00:00
Artur Malabarba
0ee15a20bc
emacs-lisp/package.el (package-delete): Document NOSAVE.
2015-02-03 11:19:56 +00:00
Thierry Volpiatto
88acd70e67
emacs-lisp/package.el (package-reinstall): Don't change selected status.
2015-02-03 11:18:46 +00:00
Michael Albinus
24fa4ff944
Further work on suppressing shell history in Tramp
...
Fixes: debbugs:19731
* net/tramp-sh.el (tramp-histfile-override): Fix docstring.
(tramp-open-shell, tramp-maybe-open-connection): Set also
HISTFILESIZE and HISTSIZE when needed.
2015-02-03 09:24:57 +01:00
Michael Albinus
c10828bd85
* net/tramp-sh.el (tramp-histfile-override): Use t instead of `unset'.
2015-02-02 20:47:31 +01:00
Michael Albinus
954ca0f017
* net/tramp-sh.el (tramp-histfile-override): Use `unset' as default.
2015-02-02 16:42:01 +01:00
Artur Malabarba
8ad2ee33a1
emacs-lisp/package.el (package--get-deps): Fix returning duplicates.
2015-02-02 13:26:40 -02:00
Artur Malabarba
ef6fa2fe0d
emacs-lisp/package.el (package-menu-execute): Clean unnecessary `and'.
2015-02-02 13:25:16 -02:00
Michael Albinus
219119e906
Fix last tramp-sh.el commit
2015-02-02 13:49:57 +01:00
Artur Malabarba
fe188b2e4f
emacs-lisp/package.el (package-initialize): Populate `package-selected-packages'.
2015-02-02 11:56:35 +00:00