Commit graph

70053 commits

Author SHA1 Message Date
Noam Postavsky
e244fed5e0 Clarify that nil doesn't match itself as a cl-case clause (Bug#30749)
* lisp/emacs-lisp/cl-macs.el (cl-case): Mention that the ATOM
=> (ATOM) short form is only for non-nil ATOMs.
2018-03-10 17:56:04 -05:00
Glenn Morris
16faff6a46 ; * lisp/org/org-table.el: Replace obsolete alias in comment. 2018-03-09 12:43:21 -05:00
Glenn Morris
6af509ec67 Replace the obsolete process-kill-without-query in documentation
* lisp/comint.el (comint-exec-hook):
* lisp/term.el (term-exec-hook):
* lisp/eshell/esh-proc.el (eshell-exec-hook):
Doc fixes re the obsolete process-kill-without-query.
; * lisp/net/ange-ftp.el: Comment.
2018-03-08 20:18:18 -05:00
Glenn Morris
685175404f Replace some obsolete aliases in code
* lisp/net/eudc-bob.el (eudc-bob-mail-keymap):
* lisp/textmodes/reftex-toc.el (reftex-make-separate-toc-frame):
Replace obsolete aliases.
2018-03-07 15:44:08 -05:00
Glenn Morris
6bcb48cf27 Replace some obsolete aliases in documentation
* doc/misc/efaq-w32.texi (Incoming mail with Rmail):
* doc/misc/speedbar.texi (Major Display Modes):
* lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer):
Doc fixes re obsolete aliases.
; * lisp/autoinsert.el (auto-insert):
; * lisp/ffap.el (ffap-newfile-prompt):
; * lisp/woman.el (woman-insert-file-contents): Comment fixes.
2018-03-07 15:41:29 -05:00
Glenn Morris
d523e4accd Remove some unused spam.el variables
* lisp/gnus/spam.el (spam-ifile-path, spam-ifile-database-path)
(spam-bogofilter-path, spam-bsfilter-path)
(spam-spamassassin-path, spam-sa-learn-path):
Remove variables that are described as obsolete, but are
really completely unused, and have been for years.
2018-03-06 20:18:54 -05:00
Glenn Morris
501808ce69 Replace some obsolete aliases in code
* lisp/emulation/viper.el (viper-set-hooks):
* lisp/epa-hook.el (auto-encryption-mode):
* lisp/term/pc-win.el (set-frame-font): Replace obsolete aliases.
* lisp/net/quickurl.el (quickurl--assoc-function): New.
(quickurl-assoc-function): Use it.
2018-03-06 20:16:52 -05:00
Glenn Morris
19afff31c9 Replace some obsolete aliases in documentation
* doc/emacs/text.texi (Nroff Mode):
* doc/misc/efaq.texi (How to add fonts):
* lisp/gnus/nnheader.el (nnheader-insert-file-contents):
* lisp/progmodes/pascal.el (pascal-outline-mode):
Doc fixes re obsolete aliases.
; * src/frame.c (do_switch_frame): Comment.
2018-03-06 20:13:51 -05:00
Glenn Morris
0efe0bd233 Obsolete eshell-cmpl-suffix-list
* lisp/eshell/em-cmpl.el (eshell-cmpl-suffix-list):
Make obsolete, to match pcomplete-suffix-list.
2018-03-06 15:07:15 -05:00
Michael Heerdegen
f6bd7e0686 Revert last commit
This reverts commit af4697faa1.  It's
too late for this to be in the release.
2018-03-06 18:32:04 +01:00
Michael Heerdegen
af4697faa1 Define if-let* and derivatives as aliases for if-let etc
This commit reverts declaring `if-let' and `when-let' obsolete in
favor of the new `if-let*' and `when-let*' versions because of the
compiler warning mess (Bug#30039).  Instead we make foo-let* aliases
for foo-let.  The old single-tuple variable spec case is still
supported for backward compatibility.
* lisp/emacs-lisp/subr-x.el (if-let, when-let): Don't declare
obsolete.  Tweak edebug specs.
(and-let): Renamed from `and-let*' for compatibility with the names
`if-let' and `when-let'.
(if-let*, when-let*, and-let*): Define as aliases for `if-let',
`when-let' and `and-let'.
* test/lisp/emacs-lisp/subr-x-tests.el (if-let-single-tuple-case-test)
(when-let-single-tuple-case-test): New tests for the single-binding
tuple case.
In the whole file, prefer the names without "*".
2018-03-06 15:47:05 +01:00
Paul Eggert
f2caf08ca6 ; Spelling fixes 2018-03-04 17:10:34 -08:00
Juri Linkov
f0e5f220b6 * lisp/progmodes/grep.el (zrgrep):
Let-bind grep-use-null-filename-separator to nil (bug#30559).
2018-03-03 23:33:15 +02:00
Eli Zaretskii
adfe2f580f Remove outdated comment in syntax.el
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Remove
outdated comment.  (Bug#30617)
2018-03-03 14:41:16 +02:00
Eli Zaretskii
b80e15b6a6 Prevent Flyspell from changing unrelated words
* lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Avoid
using stale cached data from previous invocations of this command.
(Bug#30462)
2018-03-03 12:47:47 +02:00
Eli Zaretskii
e385599457 Avoid errors in flymake in builds --without-x
* lisp/progmodes/flymake.el: Require 'mwheel'.  (Bug#28732)
2018-03-03 12:41:31 +02:00
Dmitry Gutov
6719f05ff7 Backport: xref--next-error-function: Move xref's window point
* lisp/progmodes/xref.el (xref--next-error-function): Move
xref's window point if it's visible.  When we don't do that,
navigation can start looping after a while.

(cherry picked from commit 108ce84432)
2018-03-03 02:46:50 +02:00
Glenn Morris
94ff88247d ; * lisp/wheel.el: Rearrange to match master, to reduce merge conflicts
No need to merge to master.
2018-03-02 15:05:16 -05:00
Glenn Morris
0213c8bf47 mwheel minor consistency fix
* lisp/mwheel.el (mwheel-scroll-left-function)
(mwheel-scroll-right-function):
Change from defcustom to defvar, for consistency with pre-existing.
2018-03-02 14:53:06 -05:00
Eli Zaretskii
04da8f4c29 Fix downloading non-text files in EWW
* lisp/net/eww.el (eww-download-callback): Bind
coding-system-for-read to 'no-conversion', to avoid any code- or
EOL-conversions in downloaded files.  (Bug#30664)
2018-03-02 10:44:44 +02:00
Tak Kunihiro
3968f72be8 Rename some mwheel options, for consistency
* lisp/mwheel.el (mouse-wheel-tilt-scroll)
(mouse-wheel-flip-direction): Rename from mwheel-tilt-scroll-p,
mwheel-flip-direction.
(mwheel-scroll): Update for option renaming.
* doc/emacs/frames.texi (Mouse Commands):
Update for option renaming.
2018-03-01 20:44:22 -05:00
Glenn Morris
d6e78de50b * lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias. 2018-03-01 17:48:21 -05:00
Eli Zaretskii
56ab8e3bac * lisp/dired-aux.el (dired-do-create-files): Doc fix. (Bug#30634) 2018-03-01 17:31:21 +02:00
Glenn Morris
dde91a37ea ; Auto-commit of loaddefs files. 2018-03-01 06:26:08 -05:00
Glenn Morris
6288c3d76a * lisp/emulation/viper.el: Unbreak it.
Since 2017-03-19, M-x viper failed with function void cl-member-if.
Perhaps it isn't used much.
2018-02-27 12:55:04 -05:00
Glenn Morris
4a8ea7d49a * lisp/international/mule.el (keyboard-coding-system): Doc fix.
Since multi-tty, this is always set.
2018-02-23 15:41:29 -05:00
Juri Linkov
f9640f9827 * lisp/progmodes/grep.el (grep-compute-defaults):
Add grep-use-null-filename-separator to grep-host-defaults-alist.
(Bug#30559)
2018-02-21 22:30:29 +02:00
Glenn Morris
69a8f45e15 * lisp/textmodes/flyspell.el (flyspell-get-word): Doc fix. 2018-02-20 20:31:30 -05:00
Eli Zaretskii
226aca32a7 Fix documentation of 'flyspell-auto-correct-word'
* lisp/textmodes/flyspell.el (flyspell-get-word): Elaborate in the
doc string on how the function looks for the word to spell-check.
(flyspell-word, flyspell-auto-correct-word): Refer to
'flyspell-get-word' for details about finding the word.
(Bug#30462)
2018-02-20 06:22:57 +02:00
Eli Zaretskii
f138bca8ca Improve documentation of 'electric-pair-mode'
* lisp/elec-pair.el (electric-pair-mode):
* doc/emacs/programs.texi (Matching): Document the operation of
electric-pair-mode when there's an active region.  (Bug#30502)
2018-02-17 19:28:01 +02:00
Paul Eggert
f74ab96483 ; Spelling and grammar fixes. 2018-02-17 09:17:28 -08:00
Eli Zaretskii
42f9dc4473 ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Fix a typo. 2018-02-17 18:12:23 +02:00
Charles A. Roelli
e5a29330aa lisp/vc/: documentation fixes
* lisp/vc/vc.el (vc-region-history): Clarify documentation.
* lisp/vc/add-log.el (change-log-get-method-definition):
Indent documentation.
2018-02-17 16:49:02 +01:00
Robert Pluim
f21f8e6135 Document 'desktop-files-not-to-save'
* doc/emacs/misc.texi (Saving Emacs Sessions): Add description
of 'desktop-files-not-to-save'.

* lisp/desktop.el (desktop-files-not-to-save): Explain that
the default value excludes buffers visiting remote files.
2018-02-17 13:01:19 +02:00
Eli Zaretskii
d8917eba1c Improve documentation of Profiling features
* doc/lispref/debugging.texi (Profiling): Improve the description
of elp.el.  Improve wording of the rest of the section.  (Bug#30491)

* lisp/emacs-lisp/elp.el (elp-instrument-list): Make the
interactive invocation work.  Doc fix.
2018-02-17 11:59:36 +02:00
Glenn Morris
69107f347b ; Fix doc typos related to indefinite articles 2018-02-16 17:33:57 -05:00
Glenn Morris
66a4e651f3 ; Fix doc typos related to indefinite articles 2018-02-16 15:16:15 -05:00
Eli Zaretskii
a06a8ed5b6 ; * lisp/vc/vc-git.el (vc-git--program-version): Fix last change. 2018-02-16 19:20:29 +02:00
Robert Cochran
edc06adf96 Make 'byte-compile-error-on-warn' a safe file variable
* lisp/emacs-lisp/bytecomp.el (byte-compile-error-on-warn): Mark
as a safe local variable for boolean values.
2018-02-16 17:51:06 +02:00
Eli Zaretskii
9f5d8da5cc ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Fix last change. 2018-02-16 16:30:02 +02:00
Eli Zaretskii
f73905af2d Fix the doc string of flyspell-auto-correct-word
* lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Doc
fix.  (Bug#30462)
2018-02-16 16:23:43 +02:00
Eli Zaretskii
6ddb4bd39a Fix 'vc-git--program-version'
* lisp/vc/vc-git.el (vc-git--program-version): Fix the function to
work with Git for Windows.
2018-02-16 11:30:29 +02:00
Andreas Schwab
52ca0d1a3e * lisp/vc/vc.el (vc-deduce-backend): Use ignore-errors. 2018-02-13 14:05:49 +01:00
Andreas Schwab
69e804669b Don't signal error in vc-deduce-backend
* lisp/vc/vc.el (vc-deduce-backend): Return nil if
vc-responsible-backend signals an error.
2018-02-13 12:18:25 +01:00
Juri Linkov
4fa467eefa * lisp/progmodes/grep.el (grep-num-matches-found): New variable.
(grep-mode-line-matches): New defconst.
(grep-mode-font-lock-keywords): Update the regexp for “Grep finished”
to include the number of matches found.
(grep-process-setup): Set grep-num-matches-found to 0.
(grep-exit-message): New function with body moved from lambda
in grep-process-setup.  Use grep-num-matches-found to return
the number of matches found.
(grep-filter): Increment grep-num-matches-found.
(grep-mode): Set compilation-mode-line-errors to grep-mode-line-matches.
(Bug#30397, bug#14017)
2018-02-12 23:39:28 +02:00
Michael Albinus
cef3b4248c Fix help in mode-line-mode-menu
* lisp/bindings.el (mode-line-mode-menu) [auto-revert-tail-mode]:
Fix help string.
2018-02-12 11:10:17 +01:00
Andreas Schwab
d924953e05 Fix unbound mm-uu-entry in mm-uu
* lisp/gnus/mm-uu.el (mm-uu-dissect): Rename entry to mm-uu-entry.
2018-02-10 23:56:14 +01:00
Eli Zaretskii
32fb8c4c33 Avoid printing garbled error message from image.el
* lisp/image.el (image--get-imagemagick-and-warn): Don't use
apostrophe in the error message, as that message is shown from a
unibyte buffer, and will run afoul of the default style of showing
quote characters.  (Bug#30405)
2018-02-10 09:51:00 +02:00
Eli Zaretskii
0276743672 Doc string fix in latin-alt.el
* lisp/leim/quail/latin-alt.el ("dutch"): Doc fix.  Reported by
Robert Pluim <rpluim@gmail.com>.
2018-02-09 18:22:07 +02:00
Noam Postavsky
19fa6d561a Fix --no-build-details for w32 and macOS
* src/w32term.c (w32_initialize_display_info): Handle nil system-name.
* lisp/term/ns-win.el (window-system-initialization): Don't pass nil
to `x-open-connection'.
2018-02-08 19:10:11 -05:00