summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Backport: Fix comment-empty-lines docstring (bug#35152)Basil L. Contovounesios2019-04-111-4/+4
| | | | | | | * lisp/newcomment.el (comment-empty-lines): Consistently use US commas in docstring. Fix indentation of and typo in custom :type. (cherry picked from commit 690c678fb6c1fb5b2f828f9bb90782bd0b01c399)
* Backport: Update documentation for indent-relative functionsAlex Branham2019-04-111-2/+3
| | | | | | | | | | | | | * lisp/indent.el (indent-relative): Document what happens when there is no previous nonblank line. * doc/lispref/text.texi (Relative Indent): Document indent-relative-first-indent-point instead of obsolete indent-relative-maybe. Fix documentation of which argument from 'indent-relative' is used. Bug#34858 (cherry picked from commit 10cd65878c741d2a22a1f2c36c54fcad4e516f72)
* Note that choose-completion-string-functions funcs take four argsEric Abrahamsen2019-04-091-0/+3
| | | | | | * lisp/simple.el (choose-completion-string-functions): Functions in this list actually need to accept four arguments, though the fourth should be ignored.
* Clarify the TESTFN argument to `alist-get'Mattias EngdegÄrd2019-04-091-2/+2
| | | | | | | | * lisp/subr.el (alist-get): Rephrase the initial text to clarify the meaning of the TESTFN argument. It's an equality predicate, not a look-up function (Bug#35206). (cherry picked from commit c81465580fe262f28ce47502c00f4afcbe3b8f8d)
* Fix doc strings of 'vc-version-diff' and 'vc-version-ediff'Eli Zaretskii2019-04-061-3/+14
| | | | | * lisp/vc/vc.el (vc-version-diff, vc-version-ediff): Describe arguments in the doc strings. (Bug#35019)
* Improve commentary in frame.elEli Zaretskii2019-04-061-0/+8
| | | | | * lisp/frame.el: Improve commentary for display-* functions. (Bug#35058)
* Fix typo in a doc stringMauro Aranda2019-04-061-1/+1
| | | | | * lisp/autorevert.el (global-auto-revert-mode): Fix a typo. (Bug#35165)
* ; * lisp/ldefs-boot.el: Update.Nicolas Petton2019-03-201-3/+3
|
* Fix url-copy-file arglistBasil L. Contovounesios2019-03-191-5/+8
| | | | | | * lisp/url/url-handlers.el: Silence byte-compiler. (url-copy-file): Add 6th argument following change to copy-file in 2012-12-16T19:22:27+01:00!romain@orebokech.com. (bug#4410)
* Fix downloading updates for packages with non-ASCII descriptionsEli Zaretskii2019-03-191-2/+7
| | | | | | | * lisp/emacs-lisp/package.el (package--download-one-archive): Make sure archive contents are written using UTF-8 encoding. (Bug#34909) (list-packages): Set buffer's encoding to UTF-8.
* Don't clobber 'comint-input-autoexpand' in 'read-shell-command'Eli Zaretskii2019-03-151-1/+1
| | | | | * lisp/shell.el (shell-completion-vars): Set only the buffer-local value of 'comint-input-autoexpand'. (Bug#34815)
* * lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for Emacs 26.2Alan Mackenzie2019-03-101-1/+1
|
* Avoid errors in Auto Revert modeEli Zaretskii2019-03-091-1/+2
| | | | | | * lisp/autorevert.el (auto-revert-buffers): Cancel auto-revert-timer only if it is non-nil. This avoids errors on first invocation of Auto-Revert mode.
* Provide more details in doc-string of 'delete-windows-on' (Bug#34749)Martin Rudalics2019-03-081-3/+15
| | | | | * lisp/window.el (delete-windows-on): Provide more details in doc-string (Bug#34749).
* Improve documentation of 'delete-windows-on'Eli Zaretskii2019-03-081-0/+6
| | | | | | | * doc/emacs/windows.texi (Change Window): Document 'delete-windows-on'. * lisp/window.el (delete-windows-on): Doc fix. (Bug#34749)
* * lisp/frame.el (make-frame-command): Doc fix. (Bug#34715)Eli Zaretskii2019-03-081-1/+3
|
* Avoid undefined behavior in gdb-mi.elEli Zaretskii2019-03-071-1/+1
| | | | | * lisp/progmodes/gdb-mi.el (gdb-send): Don't call match-string if this is not a control command. (Bug#34769)
* * lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.Martin Rudalics2019-03-061-4/+7
|
* Minor spelling and grammar fixes (bug#34756)Basil L. Contovounesios2019-03-052-3/+3
| | | | | | | | | | | | | | doc/misc/cc-mode.texi (Style Variables, Customizing Indentation): doc/misc/ede.texi (Extending EDE, ede-project-placeholder) (ede-target, ede-proj-target, ede-compilation-program, ede-compiler) (ede-linker): Remove apostrophe from possessive "it's". doc/lispintro/emacs-lisp-intro.texi (Find a File): doc/misc/gnus-faq.texi (FAQ 2-2): Write "an other" as a single word. doc/misc/gnus.texi (Article Buttons): lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist) (gnus-button-mid-or-mail-heuristic): Write singular number of Message-IDs, rather than plural. lisp/gnus/message.el (message-user-fqdn): Capitalize initialism.
* Improve documentation of 'auto-coding-functions'Eli Zaretskii2019-03-021-2/+5
| | | | | | | | * doc/lispref/nonascii.texi (Default Coding Systems): Clarify that the functions in 'auto-coding-functions' are called both for decoding and for encoding. * lisp/international/mule.el (auto-coding-functions): Doc fix.
* Fix visiting XML files with non-Unix EOL formatEli Zaretskii2019-03-021-5/+13
| | | | | | | * lisp/international/mule.el (sgml-xml-auto-coding-function) (sgml-html-meta-auto-coding-function): Don't use 'buffer-file-coding-system' if the buffer is unibyte. (Bug#34704)
* ; Auto-commit of loaddefs files.Glenn Morris2019-03-011-2/+2
|
* Fix last change on 'compilation-parse-errors'Tobias Bading2019-03-011-1/+1
| | | | | | | * lisp/progmodes/compile.el (compilation-parse-errors): Fix previous change in this function. (Bug#34479) Copyright-paperwork-exempt: yes
* Backport: js--re-search-backward-inner: Fix infloopDmitry Gutov2019-02-251-8/+1
| | | | | | | | | | | Fix JS indentation infloop reported in https://github.com/mooz/js2-mode/issues/513. * lisp/progmodes/js.el (js--re-search-backward-inner): Account for multiline string literals. * test/manual/indent/js.js: New test example. (cherry picked from commit b01a4295c2f9bb58858880e4e28b05cc8396791c)
* Fix a typo in the doc string of 'regex-opt'Eli Zaretskii2019-02-221-2/+2
| | | | | * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix example in the doc string. (Bug#34596)
* ; * lisp/ldefs-boot.el: Update.Nicolas Petton2019-02-201-8/+11
|
* Remove .art from the default list of ImageMagick extensionsGlenn Morris2019-02-191-2/+2
| | | | | | | It seems that .art files can be non-image files that ImageMagick mistakenly treats as extremely large images. Real .art images seem rare. * lisp/image.el (imagemagick-enabled-types): Remove ART. (Bug#22289)
* * lisp/minibuffer.el (completion-table-dynamic): Improve docstringStefan Monnier2019-02-181-4/+10
|
* * lisp/emacs-lisp/debug.el (debug-on-variable-change): Doc fix. (Bug#34518)David Pathakjee2019-02-181-1/+1
| | | | Copyright-paperwork-exempt: yes
* Update citations of Internet RFCsPaul Eggert2019-02-1626-99/+101
| | | | | | | | | | | | | | | | | | | | | For example, RFC 822 has been obsoleted by RFC 2822, which in turn has been obsoleted by RFC 5322. * doc/emacs/ack.texi, doc/lispref/os.texi: * doc/misc/emacs-mime.texi, doc/misc/gnus-coding.texi: * doc/misc/gnus.texi, doc/misc/sc.texi: * lisp/calendar/parse-time.el, lisp/gnus/gnus-cite.el: * lisp/gnus/gnus-util.el, lisp/gnus/message.el: * lisp/gnus/mm-bodies.el, lisp/gnus/nnrss.el: * lisp/mail/feedmail.el, lisp/mail/ietf-drums.el: * lisp/mail/mail-extr.el, lisp/mail/mail-utils.el: * lisp/mail/mailclient.el, lisp/mail/mailheader.el: * lisp/mail/rfc2047.el, lisp/mail/rfc822.el, lisp/mail/rmail.el: * lisp/mail/sendmail.el, lisp/mail/smtpmail.el: * lisp/mail/supercite.el, lisp/mh-e/mh-e.el: * lisp/mh-e/mh-utils.el, lisp/net/imap.el: * lisp/net/newst-backend.el, lisp/org/org-id.el: * lisp/ps-samp.el, lisp/simple.el, lisp/url/url-util.el: Update RFC citations.
* Fix handling of manpage references divided by hyphenationEli Zaretskii2019-02-161-5/+16
| | | | | | | | | | * lisp/man.el (Man-reference-regexp): Accept a newline as part of a manpage name only if it's preceded by a hyphen. (Bug#34286) (Man-translate-references): Adapt to change in 'Man-reference-regexp'. (Man-default-man-entry): Support references divided between two lines by an ASCII hyphen. This is a left-over from fixing bug#6289.
* Avoid errors in erc-dcc.el when erc-dcc-verbose is non-nilVictor J. Orlikowski2019-02-151-4/+7
| | | | | | | | * lisp/erc/erc-dcc.el (erc-dcc-get-filter): Don't assume STR is always a string. Use 'buffer-name' to get the DCC file name, as buffer-file-name is not set in the process buffer. Copyright-paperwork-exempt: yes
* Fix faces in compilation messagesDaniel Lopez2019-02-151-11/+11
| | | | | | | * lisp/progmodes/compile.el (compilation-parse-errors): Don't clobber the value of TYPE inside the loop. (Bug#34479) Copyright-paperwork-exempt: yes
* Work for empty MIME attachments (related to bug#34387)Katsumi Yamaoka2019-02-143-7/+11
| | | | | | | | * mm-view.el (mm-inline-text): Make undisplayer do nothing if the part is empty. * mm-decode.el (mm-copy-to-buffer): Work for empty MIME part. * mml.el (mime-to-mml): Ditto.
* Backport: js-indent-align-list-continuation: Make variable safeJackson Ray Hamilton2019-02-141-0/+1
| | | | | | | | * lisp/progmodes/js.el (js-indent-align-list-continuation): Indicate variable is safe as a file-local variable. This fixes the js-indent-align-list-continuation-nil test when run with make. (cherry picked from commit dd319f2711f895eec87c1017b82cd9d88d9ecd0a)
* Fix Hunspell invocation for discovering its dictionariesEli Zaretskii2019-02-111-1/+8
| | | | | | | * lisp/textmodes/ispell.el (ispell-find-hunspell-dictionaries): Invoke Hunspell with the -a switch, to prevent it from initializing its curses UI. (Bug#34272)
* Improve documentation of 'date-to-time' and 'parse-time-string'Eli Zaretskii2019-02-081-0/+1
| | | | | | | | | | * doc/lispref/os.texi (Time Parsing): Document 'parse-time-string', and refer to it for the description of the argument of 'date-to-time'. * lisp/calendar/time-date.el (date-to-time): Refer in the doc string to 'parse-time-string' for more information about the format of the DATE argument. (Bug#34303)
* Fix downloading of URLs that end in a slashNick Drozd2019-02-081-1/+1
| | | | | | | * lisp/net/eww.el (eww-download-callback): Fix download URL file name. Previously this wasn't handling download URLs correctly, resulting in all downloaded pages being named "!", "!(1)", etc. (Bug#34291)
* Fix failures of vc-find-revision with non-ASCII file namesEli Zaretskii2019-02-081-2/+5
| | | | | | | | | * lisp/vc/vc.el (vc-find-revision): Instead of binding coding-system-for-write, make the buffer-file-coding-system of the temporary buffer be no-conversion. This avoids the unwanted side effect of not encoding the command-line arguments of the VCS commands invoked by the backend. (Bug#34350)
* Fix URL in ucs-normalize.elJean-Christophe Helary2019-02-031-1/+1
| | | | | * lisp/international/ucs-normalize.el: Fix URL of the HFS normalization reference. (Bug#34300)
* Correct the docs of inserting kmacro counterEli Zaretskii2019-02-011-4/+8
| | | | | | | | | | * doc/emacs/kmacro.texi (Keyboard Macro Counter): Correct the description of the affect "C-u" has on inserting the macro counter. Define "previous counter value". * lisp/kmacro.el (kmacro-insert-counter) (kmacro-start-macro-or-insert-counter): Fix the doc strings regarding the effect of "C-u". (Bug#34263)
* ; Auto-commit of loaddefs files.Glenn Morris2019-02-011-3/+17
|
* Avoid errors in 'rmail-get-new-mail'Eli Zaretskii2019-02-011-1/+2
| | | | | | * lisp/mail/rmail.el (rmail-insert-inbox-text): Don't assume the Rmail protocol is always a string when calling 'rmail-remote-proto-p'. (Bug#34252)
* Fix a loop in c-fl-decl-start. This fixes bug #34186.Alan Mackenzie2019-01-251-0/+3
| | | | | | | * lisp/progmodes/cc-mode.el (c-fl-decl-start) In the pair of operations c-syntactic-skip-backward and c-forward-syntactic-ws, ensure the latter doesn't come back to the position before the former, and break out of the enclosing loop if it does.
* Fix LaTeX output of month and day from cal-tex.elEli Zaretskii2019-01-251-2/+2
| | | | | | * lisp/calendar/cal-tex.el (cal-tex-cursor-week-iso) (cal-tex-week-hours): Escape a lone blank, to make it through LaTeX. (Bug#34148)
* Avoid elisp crash for OpenPGP User IDs with no e-mail addressDaniel Kahn Gillmor2019-01-251-0/+2
| | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-check-user-id): Verify that there is an e-mail address in the current User ID before trying to downcase it. (Bug#34121) Copyright-paperwork-exempt: yes
* image-mode: Do not use default scaling (bug#33990)Benjamin Riefenstahl2019-01-251-2/+4
| | | | | * lisp/image-mode.el (image-toggle-display-image): Set :scale == 1 so that create-image does not apply additional scaling.
* create-image: Expand documentation (bug#33990)Benjamin Riefenstahl2019-01-251-1/+8
| | | | | * lisp/image.el (create-image): Discuss default for :scale in the doc string.
* Improve documentation of 'isearch-filter-predicate'Eli Zaretskii2019-01-211-9/+15
| | | | | * lisp/isearch.el (isearch-filter-predicate) (isearch-filter-visible): Doc fixes. (Bug#34150)
* Fix cursor column positioning on Grep hitsTrevor Spiteri2019-01-191-5/+5
| | | | | | | | * lisp/progmodes/grep.el (grep-match-face): Move before first use, to avoid byte-compilation warning. (grep-regexp-alist): Don't quote grep-match-face. (Bug#34068) Copyright-paperwork-exempt: yes