Kevin Ryde
0e3e012215
easy-menu-define doc string fix
...
* emacs-lisp/easymenu.el (easy-menu-define): Docstring :label and
:help of the menu itself.
2019-08-03 20:32:24 +02:00
Andreas Politz
95d2250bcf
Tweak tq queue processing
...
* lisp/emacs-lisp/tq.el (tq-process-buffer): Pop the queue before
calling the function because the function may add new entries to
the queue (bug#19016). Also report errors.
2019-08-03 16:33:06 +02:00
Lars Ingebrigtsen
8edd4bc22a
Fix previous macroexp-progn doc string fix
...
* lisp/emacs-lisp/macroexp.el (macroexp-progn): Fix previous doc
string clarification.
2019-08-03 13:48:31 +02:00
Lars Ingebrigtsen
e56e85d227
macroexp doc fixes
...
* lisp/emacs-lisp/macroexp.el (macroexp-progn): Doc clarification
(bug#19371).
(macroexp-let*): Doc fix.
2019-08-02 23:11:28 +02:00
Lars Ingebrigtsen
530a4af66c
macroexp--cons doc fix
...
* lisp/emacs-lisp/macroexp.el (macroexp--cons): Doc fix (bug#19371).
2019-08-02 23:03:47 +02:00
Lars Ingebrigtsen
51cf2eb5c9
Document batch-byte-compile directory behavior
...
* lisp/emacs-lisp/bytecomp.el (batch-byte-compile): Document the
behaviour with directories (bug#20867).
2019-08-01 23:16:37 +02:00
Basil L. Contovounesios
2267110b6f
Fix usage of remove-text-properties
...
* lisp/allout-widgets.el (allout-decorate-item-icon):
* lisp/emacs-lisp/chart.el (chart-goto-xy):
* lisp/forms.el (forms--make-format)
(forms--make-format-elt-using-text-properties):
* lisp/htmlfontify.el (hfy-unmark-trailing-whitespace):
* lisp/net/newst-plainview.el (newsticker-hide-entry)
(newsticker-show-entry):
* lisp/nxml/nxml-mode.el (nxml-cleanup):
* lisp/obsolete/longlines.el (longlines-unshow-hard-newlines)
(longlines-encode-region):
* lisp/org/ob-exp.el (org-babel-exp-process-buffer):
* lisp/org/org-agenda.el (org-agenda-show-new-time):
* lisp/progmodes/cc-defs.el
(c-clear-char-property-with-value-function)
(c-clear-char-property-with-value-on-char-function):
* lisp/progmodes/ebrowse.el (ebrowse--hide):
* lisp/progmodes/gdb-mi.el (gdb-send):
* lisp/progmodes/idlw-shell.el
(idlwave-retrieve-expression-from-level):
* lisp/progmodes/make-mode.el (makefile-fill-paragraph):
* lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
* lisp/tmm.el (tmm-remove-inactive-mouse-face):
Always pass an explicit plist to remove-text-properties.
* lisp/dired.el (dired--unhide):
* lisp/facemenu.el (facemenu-add-face):
* lisp/htmlfontify.el (hfy-fontify-buffer):
* lisp/iimage.el (iimage-mode-buffer):
* lisp/image-file.el (image-file-yank-handler):
* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
* lisp/textmodes/tex-mode.el (latex-env-before-change):
* test/src/undo-tests.el (undo-test0):
Use remove-list-of-text-properties in place of
remove-text-properties where appropriate.
2019-08-01 17:04:53 +03:00
Glenn Morris
1ac0cfa264
Merge from origin/emacs-26
...
8fbe462
(origin/emacs-26) ; * doc/lispref/positions.texi (List Motion...
1d9efc0
Add index for "\( in strings" (Bug#25195)
304e96f
Fix doc-string of 'fit-window-to-buffer' (Bug#36848)
d4c4987
Update view-mode docstring
d6ca1fc
; * lisp/term.el: Add missing / to esc seq commentary.
b3e2073
Fix subproc listening when setting filter to non-t (Bug#36591)
f671950
* etc/NEWS.25: Belatedly announce rcirc-reconnect-delay.
7f42277
Mention term.el's \032 dir tracking in commentary (Bug#19524)
16a529e
Remove upload functionality of package-x from the elisp manual
78e6c2a
* etc/AUTHORS: Update.
086a56e
Clarify Gravatar docs
0592467
* doc/lispref/display.texi (Defining Faces): Say a face can't...
# Conflicts:
# doc/emacs/programs.texi
# etc/AUTHORS
# lisp/term.el
2019-07-30 21:42:34 -07:00
Noam Postavsky
77fb84e6db
* lisp/emacs-lisp/let-alist.el: Bump version to 1.0.6 (Bug#23244).
2019-07-30 21:13:36 -04:00
Stephen Leake
0173962570
Merge commit ' 9b480db673
'
2019-07-30 11:03:15 -07:00
Stephen Leake
056cbcb7a9
Improve doc strings for some -search-path variables
...
* lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-search-path):
Improve doc string.
* lisp/progmodes/compile.el (compilation-search-path): Improve doc
string.
* lisp/progmodes/grep.el (grep-search-path): Improve doc string.
2019-07-30 11:02:03 -07:00
Lars Ingebrigtsen
66a74f8415
Use decoded time accessors in timer
...
* lisp/emacs-lisp/timer.el (run-at-time): Use decoded time
accessors.
2019-07-30 13:08:49 +02:00
Stefan Monnier
75361be63f
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add slot option :documentation
...
Use it to improve the docstring of the accessor functions.
* doc/misc/cl.texi: Rename menu entry to "CL-Lib".
(Structures): Add ':documentation' and mention ':type' as well,
which we don't completely ignore any more.
2019-07-29 11:56:11 -04:00
Lars Ingebrigtsen
d7665ae8df
Make let-alist work with vectors
...
* lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search):
Descend into vectors, too, looking for dotted variables (bug#23244).
Test case:
(let-alist '((a . 1) (b . 2))
`[,(+ .a) ,(+ .a .b .b)])
2019-07-28 23:28:24 +02:00
Eli Zaretskii
42e4fb8ae9
; * lisp/emacs-lisp/derived.el (define-derived-mode): Doc fix.
2019-07-28 17:31:17 +03:00
Lars Ingebrigtsen
efc6301068
Make URLs in package descriptions into links
...
* lisp/emacs-lisp/package.el (describe-package-1): Make the URLs
in package descriptions into links (bug#23480).
2019-07-28 16:01:45 +02:00
Lars Ingebrigtsen
f82ae2fc87
Make cl-values-list signal an error if its argument isn't a list
...
* lisp/emacs-lisp/cl-lib.el (cl-values-list): Signal an error if
LIST isn't a list (bug#23597).
2019-07-28 14:14:46 +02:00
Lars Ingebrigtsen
3a556c0c60
Fix testcover.el usage of edebug.el symbols
...
* lisp/emacs-lisp/testcover.el (testcover-before)
(testcover-after, testcover-mark)
(testcover-analyze-coverage-edebug-after): Adjust usage of
`unknown' to `edebug-unknown' in testcover.el in addition to
edebug.el (bug#25471).
2019-07-28 11:39:22 +02:00
Stefan Monnier
77ee23d1ed
* lisp/emacs-lisp/autoload.el: Make progress info more informative.
...
(update-directory-autoloads): Include the name of the target file.
2019-07-27 17:53:46 -04:00
Stefan Monnier
1c8405e33e
* lisp/emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Fix bug#34757
...
This fix was provided by Pip Cet <pipcet@gmail.com>. It tightens the
code that tries to recognize a bytecode sequence as being a simple
function call (to then decompile it), which occasionally misfired.
I added some minor changes found while investigating this issue.
(byte-compile): Handle corner case where byte-compile-top-level returns
a non-self-evaluating expression.
(byte-compile-out-toplevel): Remove support for `progn` and `t` values
of output-type which aren't used anywhere.
2019-07-27 17:28:10 -04:00
Lars Ingebrigtsen
1d4355261d
Doc fix for package-menu-filter
...
* lisp/emacs-lisp/package.el (package-menu-filter): Document the
use of arc:ARCHIVE and status:STATUS (bug#24883).
2019-07-27 14:38:40 +02:00
Lars Ingebrigtsen
60511bd89d
edebug.el comment fix
...
* lisp/emacs-lisp/edebug.el: Fix comment referring to non-existent
variable (bug#25188).
2019-07-27 13:34:17 +02:00
Lars Ingebrigtsen
02bb676a05
Rename coverage symbols in edebug to avoid collisions
...
* lisp/emacs-lisp/edebug.el (edebug-clear-coverage): Use
edebug-unknown and edebug-ok-coverage instead of unknown and
ok-coverage to avoid naming collisions with packages that use
those two symbols (bug#25471).
(edebug--update-coverage, edebug-display-freq-count): Ditto.
2019-07-27 12:21:30 +02:00
Lars Ingebrigtsen
2cc5bb67ff
define-derived-mode doc string clarification
...
* lisp/emacs-lisp/derived.el (define-derived-mode): Doc string
clarification about the keywords (bug#26301).
2019-07-27 12:04:58 +02:00
Paul Eggert
40b067522f
Fix ‘make check’ failure
...
Problem introduced in 2019-07-26T07:08:40!larsi@gnus.org.
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
Don’t count "0 unexpected" as unexpected.
2019-07-26 09:41:55 -07:00
Lars Ingebrigtsen
3a373bc235
Minor rewording of a couple of sentences in define-derived-mode doc
...
* lisp/emacs-lisp/derived.el (define-derived-mode): Reword
documentation to be less whimsical (bug#26301).
2019-07-26 13:05:08 +02:00
Lars Ingebrigtsen
7ada677e3f
Add an autoload cookie to package-upload-file
...
* lisp/emacs-lisp/package-x.el (package-upload-file): Add an
autoload cookie (bug#26724).
2019-07-26 11:18:37 +02:00
Lars Ingebrigtsen
66db7b2c36
Always include the number of unexpected results here too
...
* lisp/emacs-lisp/ert.el (ert-run-tests-batch): Always include the
number of unexpected results here as well.
2019-07-26 09:58:53 +02:00
Lars Ingebrigtsen
71f76a8025
Don't run gpg when loading package.el
...
* lisp/emacs-lisp/package.el (package-check-signature): Don't run
gpg on startup, but just default to `allow-unsigned'.
(package-check-signature): New function to check whether a OpenPGP
configuration is found when `allow-unsigned'.
(package--check-signature-content, package--check-signature)
(package--download-one-archive, package-refresh-contents)
(package-install-from-archive): Use function instead of variable
throughout.
* doc/emacs/package.texi (Package Installation): Document this.
2019-07-26 08:30:43 +02:00
Stefan Kangas
16a529e215
Remove upload functionality of package-x from the elisp manual
...
Suggested by Stefan Monnier.
Ref: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19537#8
* doc/lispref/package.texi (Package Archives): Don't document
package-x upload functions in the elisp manual, since they are not
very commonly used. (Bug#19537)
* lisp/emacs-lisp/package-x.el (package-archive-upload-base)
(package-upload-buffer, package-upload-file): Add to the doc strings
any details removed from the elisp manual that would otherwise be
missing.
2019-07-25 18:23:55 -04:00
Lars Ingebrigtsen
7633391ce0
Make cl-destructuring-bind errors a bit more understandable
...
* lisp/emacs-lisp/cl-macs.el (cl-destructuring-bind): Make errors
when giving the wrong number of arguments to the bindings form
more informational (bug#29345).
2019-07-25 21:56:17 +02:00
Gemini Lasswell
0c48c0d0b2
Fix inline-quote Edebug spec
...
* lisp/emacs-lisp/inline.el (inline-quote): Fix the edebug spec
(bug#31051).
2019-07-21 15:40:48 +02:00
Noam Postavsky
6490269bec
Merge from emacs-26
...
150bdfe43a
Handle completely undecoded input in term (Bug#29918)
021f32cca1
* doc/misc/forms.texi (Control File Format): Fix a doc error.
76538d09b7
Fix typo in package-alist docstring
b2fde4b5e8
* doc/lispref/text.texi (Mode-Specific Indent): Fix a typo...
7e62778548
; Another minor change in 'bidi-display-reordering's doc s...
4455ddbe56
Improve doc string of 'bidi-display-reordering'
34ee26dd93
Add warning to bidi-display-reordering doc string
# Conflicts:
# lisp/term.el
# test/lisp/term-tests.el
2019-07-20 22:02:36 -04:00
Basil L. Contovounesios
76538d09b7
Fix typo in package-alist docstring
...
Pointed out by Michael Heerdegen <michael_heerdegen@web.de>.
* lisp/emacs-lisp/package.el (package-alist): Fix docstring
grammar (bug#17403).
2019-07-17 15:07:16 +01:00
Mattias Engdegård
450fd8e570
Set revert-buffer-function in ert-results-mode
...
* lisp/emacs-lisp/ert.el (ert-results-mode): Set revert-buffer-function
to re-run the same test selection. It is a good fit and permits use of
the standard "g" key binding.
2019-07-16 15:35:45 +02:00
Lars Ingebrigtsen
3b69921185
Revert "Add edebug specs for inline.el"
...
This reverts commit ed29d9fe52
.
The edebug specs were already in the declare form, and in addition, it didn't fix the problem.
2019-07-15 16:47:52 +02:00
Lars Ingebrigtsen
dbd1d2ebf8
Tweak gv-define-setter debug setting
...
* lisp/emacs-lisp/gv.el (gv-define-setter): Change edebug spec
from body to def-body (bug#28729).
2019-07-15 11:16:37 +02:00
Lars Ingebrigtsen
dea9970bc0
package-archive-priorities doc addition
...
* lisp/emacs-lisp/package.el (package-archive-priorities):
Document that negative priorities will lead to packages not being
updated (bug#28897).
2019-07-15 00:22:45 +02:00
Lars Ingebrigtsen
9d84fcbef5
Make elint understand condition-case-unless-debug
...
* lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint
about `condition-case-unless-debug' (bug#29585).
2019-07-14 20:24:03 +02:00
Noam Postavsky
427ccb9321
Remove incorrect commentary about #$ in autoloads
...
* lisp/emacs-lisp/autoload.el (autoload-rubric):
`package-quickstart-refresh' does in fact support load-file-name as
well.
2019-07-13 21:25:10 -04:00
Lars Ingebrigtsen
ed29d9fe52
Add edebug specs for inline.el
...
* lisp/emacs-lisp/inline.el (inline-quote)
(inline-letevals): Add edebug specs (bug#31051).
2019-07-13 18:07:11 +02:00
Lars Ingebrigtsen
196ea8c4b3
Tweak output of doc in advice--make-docstring
...
* lisp/emacs-lisp/nadvice.el (advice--make-docstring): Make the
bit about the function/macro having an advice into a complete
sentence (bug#31063) and make it less dramatic.
2019-07-13 17:48:53 +02:00
Lars Ingebrigtsen
5a90307351
Make check-declare understand cl-defun
...
* lisp/emacs-lisp/check-declare.el (check-declare-verify): Add
cl-defun to the defun-ish regexp (bug#31396).
2019-07-13 16:49:23 +02:00
Lars Ingebrigtsen
67e2116160
Fix cl-defstruct doc string fix
...
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Remove sentence from
doc string that was left in by mistake when fixing the arglist
documentation.
2019-07-13 14:27:36 +02:00
Phil Sainty
c87878af7d
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a docstring typo
2019-07-13 23:58:14 +12:00
Michael Albinus
9939e04404
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Adapt docstring.
2019-07-13 13:30:35 +02:00
Lars Ingebrigtsen
1b0d621f02
Document fix for cl-defstruct
...
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can
have a doc string (bug#32340).
2019-07-13 05:05:03 +02:00
Lars Ingebrigtsen
1ed034b998
Always include the number of unexpected ert tests
...
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
Always include the number of failed tests, because absence of the
text is not reassuring (bug#36616).
2019-07-13 01:55:25 +02:00
Stefan Monnier
6397716871
Revert "Turn off bytecode jumptables to avoid Bug#36447"
...
This reverts commit 122198d2f1
.
Should not be needed any more thanks to Pip Cet's patch to hash_table_rehash.
2019-07-09 16:16:37 -04:00
Lars Ingebrigtsen
547800dade
Checkdoc would bug out on empty files
...
* lisp/emacs-lisp/checkdoc.el (checkdoc--next-docstring): Don't
bug out on malformed Emacs Lisp (bug#34760).
(checkdoc-file-comments-engine): Don't bug out on empty buffers.
2019-07-09 18:45:18 +02:00