1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

120376 commits

Author SHA1 Message Date
Paul Eggert
cf498e5b9a Remove no-longer-used cursor_in_echo_area code
* dispnew.c (set_window_cursor_after_update, update_frame_1):
Remove checks for negative cursor_in_echo_area, since this var is
a boolean, and has been a boolean for some time.  Simplify.
* dispnew.c (init_display):
* xdisp.c (message3_nolog, vmessage): Use bool for boolean.
2015-02-06 19:28:56 -08:00
Dmitry Gutov
66e6398505 Make vc-test-svn03-working-revision pass
* test/automated/vc-tests.el (vc-test--working-revision): Fix
`vc-working-revision' checks to be compared against nil, which is
what is should return for unregistered files.
2015-02-07 04:26:05 +03:00
Dmitry Gutov
fa7f79e823 (vc-cvs-dir-status-files): Don't pass DIR to `vc-cvs-command'
Fixes: debbugs:19732

* lisp/vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
`vc-cvs-command'.
2015-02-07 02:35:24 +03:00
Nicolas Petton
7eb2077f9d Add documentation for seq-mapcat, seq-partition and seq-group-by
* doc/lispref/sequences.texi (Sequence Functions): Add documentation
for seq-mapcat, seq-partition and seq-group-by
2015-02-06 16:01:12 +01:00
Nicolas Petton
58c098199a Better docstring for seq.el functions
* lisp/emacs-lisp/seq.el: Better docstring for seq.el functions
2015-02-06 16:00:01 +01:00
Nicolas Petton
c4a0eff011 Add seq-partition and seq-group-by
* lisp/emacs-lisp/seq.el: Better docstring for seq.el functions
* test/automated/seq-tests.el: New tests for seq-partition and
  seq-group-by
2015-02-06 15:55:57 +01:00
Nicolas Petton
05211a578e Add seq-mapcat
* lisp/emacs-lisp/seq.el (seq-mapcat): New function
* test/automated/seq-tests.el: Add unit tests for seq-mapcat
2015-02-06 15:52:23 +01:00
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
de840e433c automated/package-test.el (package-test-sort-by-dependence): New test 2015-02-05 20:12:47 -02:00
Artur Malabarba
c03deb4df9 automated/package-test.el (package-test-get-deps): Fix typo. 2015-02-05 20:12:47 -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
Glenn Morris
649e21fe2f * doc/misc/auth.texi (Multiple GMail accounts with Gnus): Markup fix. 2015-02-05 09:09:36 -08: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
Martin Rudalics
49aa3a12cc Remove recently added BUFFER arg of `window-text-pixel-size'.
* xdisp.c (Fwindow_text_pixel_size): Remove optional BUFFER
argument added on 2015-02-01.
* display.texi (Size of Displayed Text): Remove description of
optional argument BUFFER of `window-text-pixel-size'.
2015-02-05 15:40:19 +01:00
Ted Zlatanov
ff7072d531 lisp/gnus/gnus-start.el: always check newsrc timestamp when saving it 2015-02-05 11:51:07 +00:00
Ted Zlatanov
ca25231a26 doc/misc/auth.texi (Multiple GMail accounts with Gnus): Add FAQ 2015-02-05 11:50:17 +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
Katsumi Yamaoka
586b2b1403 doc/misc/ChangeLog: Add missing entry 2015-02-05 04:14:12 +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
a68786dd2d etc/GNUS-NEWS: Nore X-GM-LABELS 2015-02-05 03:55:13 +00:00
Lars Magne Ingebrigtsen
dfa676632d doc/misc/gnus.texi (Support for IMAP Extensions): Document Gmail labels 2015-02-05 03:54:23 +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