aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Clean up eieio-custom slightlyLars Ingebrigtsen2019-06-201-5/+0
| | | | | | | | | | | | * lisp/emacs-lisp/eieio-custom.el: Remove commented out code.
* | | Remove XEmacs compat code from checkdoc.elLars Ingebrigtsen2019-06-201-7/+3
| | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): Remove XEmacs compat code.
* | | Clean up after previous viper patchLars Ingebrigtsen2019-06-202-7/+5
| | | | | | | | | | | | | | | | | | * lisp/emulation/viper-ex.el (viper-get-ex-address-subr): Fix syntax error in last checkin. (viper-ex): Don't use now-obsolete function.
* | | Remove most of the XEmacs compat code from viper*.elLars Ingebrigtsen2019-06-207-319/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emulation/viper-cmd.el () (viper-insert-state-post-command-sentinel) (viper-change-state-to-vi, viper-change-state-to-insert) (viper-change-state-to-emacs, viper-escape-to-state) (viper-special-read-and-insert-char, viper-toggle-key-action) (viper-prefix-arg-value, viper-prefix-arg-com) (viper-digit-argument, viper-command-argument, ) (viper-exec-Yank, viper-repeat, viper-forward-char) (viper-backward-char, viper-forward-word, viper-forward-Word) (viper-end-of-word, viper-end-of-Word, viper-backward-word) (viper-backward-Word, viper-beginning-of-line) (viper-bol-and-skip-white, viper-goto-eol, viper-goto-col) (viper-next-line, viper-next-line-at-bol, viper-previous-line) (viper-previous-line-at-bol, viper-goto-line, ) (viper-repeat-find, viper-repeat-find-opposite) (viper-window-top, viper-window-middle, viper-window-bottom) (viper-paren-match, viper-search, viper-buffer-search-enable) (viper-put-back, viper-Put-back, viper-mark-point) (viper-cycle-through-mark-ring, viper-goto-mark-subr) (viper-brac-function, viper-register-to-point) (viper-submit-report): Remove some XEmacs compat code. * lisp/emulation/viper-ex.el (viper-get-ex-address-subr) (viper-handle-!, ex-edit, ex-mark, ex-next-related-buffer) (ex-help, ex-write, ex-write-info, viper-info-on-file): Ditto. * lisp/emulation/viper-keym.el (viper-add-keymap): Ditto. * lisp/emulation/viper-macs.el (viper-record-kbd-macro): Remove XEmacs compat code. * lisp/emulation/viper-mous.el (viper-mouse-click-insert-word) (viper-mouse-click-search-word): Remove some XEmacs compat code. * lisp/emulation/viper-util.el (viper-overlay-p) (viper-color-defined-p, viper-iconify, viper-memq-char) (viper-char-equal, viper=, viper-color-display-p) (viper-get-cursor-color, viper-frame-value) (viper-change-cursor-color, viper-save-cursor-color) (viper-restore-cursor-color, viper-get-visible-buffer-window) (viper-file-checked-in-p, viper-put-on-search-overlay) (viper-flash-search-pattern, viper-hide-search-overlay) (viper-move-replace-overlay, viper-set-replace-overlay) (viper-set-replace-overlay-glyphs, viper-hide-replace-overlay) (viper-replace-start, viper-replace-end) (viper-set-minibuffer-overlay, viper-check-minibuffer-overlay) (viper-abbreviate-file-name, viper-mark-marker) (viper-set-mark-if-necessary, viper-leave-region-active) (viper-copy-event, viper-read-event-convert-to-char) (viper-event-key, viper-last-command-char) (viper-key-to-emacs-key, viper-eventify-list-xemacs) (viper-set-unread-command-events, viper-char-array-p) (viper-key-press-events-to-chars, viper-read-char-exclusive): Remove most of the XEmacs compat code. * lisp/emulation/viper.el (viper-go-away, viper-set-hooks) (viper-non-hook-settings): Remove some XEmacs compat code.
* | | Remove XEmacs compat code from viper-macs.elLars Ingebrigtsen2019-06-201-6/+1
| | | | | | | | | | | | | | | * lisp/emulation/viper-macs.el (viper-char-array-to-macro): Remove XEmacs compat code.
* | | Remove XEmacs compat code from viper-cmd.elLars Ingebrigtsen2019-06-201-91/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emulation/viper-cmd.el (viper-change-state) (viper-escape-to-state, viper-special-read-and-insert-char) (viper-prefix-arg-value, viper-prefix-arg-com) (viper-display-current-destructive-command) (viper-file-add-suffix, viper-adjust-window) (viper-set-searchstyle-toggling-macros) (viper-set-parsing-style-toggling-macro) (viper-set-emacs-state-searchstyle-macros): Remove XEmacs compat code.
* | | Remove XEmacs and old Emacs compat code from gamegrid.elLars Ingebrigtsen2019-06-201-56/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/play/gamegrid.el (gamegrid-event-x, gamegrid-event-y) (gamegrid-make-glyph, image-size, gamegrid-initialize-display) (gamegrid-start-timer, gamegrid-set-timer) (gamegrid-kill-timer) (gamegrid-add-score-with-update-game-score-1) (gamegrid-add-score-insecure): Removed XEmacs compat code. (gamegrid-characterp, gamegrid-set-display-table): Removed functions.
* | | Remove XEmacs compat code from binhex.elLars Ingebrigtsen2019-06-201-12/+8
| | | | | | | | | | | | | | | | | | * lisp/mail/binhex.el (binhex-insert-char): Remove XEmacs compat code and made into a function instead of a defalias. (binhex-decode-region-internal): Remove XEmacs compat code.
* | | Remove XEmacs compat code from uudecode.elLars Ingebrigtsen2019-06-201-6/+2
| | | | | | | | | | | | | | | * lisp/mail/uudecode.el (uudecode-decode-region-external) (uudecode-decode-region-internal): Remove XEmacs compat code.
* | | Remove XEmacs compat code from pascal.elLars Ingebrigtsen2019-06-201-3/+1
| | | | | | | | | | | | * lisp/progmodes/pascal.el (pascal-mark-defun): Remove XEmacs compat.
* | | Remove XEmacs support from cperl-modeLars Ingebrigtsen2019-06-201-104/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cperl-mode.el (condition-case) (cperl-electric-parens-mark, cperl-del-back-ch) (cperl-do-not-fontify, cperl-mode, cperl-find-pods-heres) (cperl-write-tags, cperl-tags-hier-init, cperl-perldoc) (cperl-build-manpage): Remove XEmacs support. There's a lot of support code in here for older versions of Emacs that could be removed, too.
* | | Simplify stdout bufferingPaul Eggert2019-06-201-18/+1
| | | | | | | | | | | | | | | | | | * src/sysdep.c (_sobuf): Remove; we no longer need this microoptimization. (init_sys_modes): Simplify by assuming setvbuf.
* | | Remove no-longer-needed fflushes of stderrPaul Eggert2019-06-202-2/+0
| | | | | | | | | | | | | | | | | | * src/gmalloc.c (mabort) [GC_MCHECK && !__GNU_LIBRARY__]: * src/term.c (vfatal): Remove fflush (stderr) when it is now a no-op because newline automatically flushes stderr.
* | | Line-buffer stderrPaul Eggert2019-06-201-0/+6
| | | | | | | | | | | | | | | * src/sysdep.c (init_standard_fds) [!DOS_NT]: Use setvbuf to ensure stderr is line-buffered.
* | | Fix arbitrary INT_MAX limit on referrer reprPaul Eggert2019-06-201-1/+2
| | | | | | | | | | | | | | | * src/pdumper.c (print_paths_to_root_1): Don’t assume strlen (repr) < INT_MAX.
* | | Minor putc tweaksPaul Eggert2019-06-203-14/+8
| | | | | | | | | | | | | | | | | | | | | * src/emacs-module.c (module_abort): * src/xdisp.c (vmessage): Prefer fputc to putc, since speed isn’t crucial here. * src/region-cache.c (pp_cache) [ENABLE_CHECKING]: Simplify.
* | | Change font_put_extra value for property removal from Qnil to QunboundYAMAMOTO Mitsuharu2019-06-201-3/+7
| | | | | | | | | | | | | | | | | | * font.c (font_put_extra): If VAL is Qunbound, delete the slot for PROP from the list of extra properties. Previous value Qnil is valid as boolean. (font_clear_prop): Changed argument of font_put_extra for property removal.
* | | Fix failure of setting default face attribute in init script (Bug#36284)YAMAMOTO Mitsuharu2019-06-201-6/+2
| | | | | | | | | | | | | | | * src/xsettings.c (apply_xft_settings): Undo replacing all #ifdef HAVE_XFT with #if defined USE_CAIRO || defined HAVE_XFT for this function.
* | | * bookmark.el (bookmark-set-internal): Fix format string.Roland Winkler2019-06-191-1/+1
| | |
* | | Add file sorting options to find-dired and grep-find (bug#36110)Juri Linkov2019-06-203-15/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/find-dired.el (find-ls-option-default-ls) (find-ls-option-default-exec, find-ls-option-default-xargs): New variables for values used for options of 'find-ls-option'. (find-ls-option): Use these variables for default values and options. (find-dired-refine-function): Refine :type. * lisp/progmodes/grep.el (grep-find-use-xargs): Use defcustom instead of defvar. Add new value 'gnu-sort'. (grep-compute-defaults): Handle new 'gnu-sort' option of 'grep-find-use-xargs'.
* | | Remove XEmacs and ancient Emacs compatibility from newst-backend.elLars Ingebrigtsen2019-06-191-39/+0
| | | | | | | | | | | | | | | * lisp/net/newst-backend.el: Remove compatibility with XEmacs and ancient Emacs versions.
* | | Doc string fixLars Ingebrigtsen2019-06-191-1/+1
| | | | | | | | | | | | | | | * lisp/calendar/timeclock.el (timeclock-completing-read): Fix doc string punctuation.
* | | Remove XEmacs compat code from timeclock.elLars Ingebrigtsen2019-06-191-10/+6
| | | | | | | | | | | | | | | | | | * lisp/calendar/timeclock.el (timeclock-completing-read) (timeclock-ask-for-project, timeclock-ask-for-reason): Remove XEmacs compat code.
* | | Remove more XEmacs compat code from epa.elLars Ingebrigtsen2019-06-191-2/+0
| | | | | | | | | | | | | | | * lisp/epa.el (epa-key-mode, epa-key-list-mode): Remove XEmacs compat code.
* | | Remove XEmacs compat code from calcLars Ingebrigtsen2019-06-194-59/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc.el (calc-read-key-sequence) (calcDigit-start, calc-read-key, calc-unread-command) (calc-clear-unread-commands): * lisp/calc/calc-misc.el (calc-dispatch-help): * lisp/calc/calc-help.el (calc-help-for-help) (calc-describe-key): * lisp/calc/calc-ext.el (calc-fancy-prefix, calc-user-key-map): Remove XEmacs compat code.
* | | Remove XEmacs compat code from savehist.elLars Ingebrigtsen2019-06-191-50/+15
| | | | | | | | | | | | | | | | | | | | | * lisp/savehist.el: (savehist-install, savehist-uninstall, savehist-save) (savehist-trim-history, savehist-printable) (savehist-minibuffer-hook): Remove XEmacs compat code.
* | | Remove XEmacs compat code from ps-printLars Ingebrigtsen2019-06-192-306/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ps-print.el: (ps-print-color-p, ps-postscript-code-directory, ps-setup): * lisp/ps-def.el: (ps-mark-active-p, ps-face-foreground-name) (ps-face-background-name, ps-color-device, ps-color-values) (ps-face-bold-p, ps-face-italic-p, ps-face-strikeout-p) (ps-face-overline-p, ps-face-box-p) (ps-generate-postscript-with-faces1): Remove XEmacs compat code and some outdated Emacs compat code.
* | | Remove XEmacs compat code from epa.elLars Ingebrigtsen2019-06-191-14/+7
| | | | | | | | | | | | | | | | | | * lisp/epa.el (epa-key-list-mode, epa-key-mode) (epa--find-coding-system-for-mime-charset): Remove XEmacs compat code and comments.
* | | Remove XEmacs compat code from dframe.elLars Ingebrigtsen2019-06-191-246/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dframe.el (dframe-update-speed, dframe-update-keymap) (dframe-frame-mode, dframe-detach, dframe-set-timer-internal) (dframe-popup-kludge, dframe-mouse-event-p) (dframe-track-mouse, dframe-help-echo, dframe-mouse-set-point) (dframe-double-click, dframe-temp-buffer-show-function) (dframe-hack-buffer-menu, dframe-mouse-hscroll): Remove XEmacs compat code (and some ancient Emacs compat code).
* | | Remove XEmacs compat code from ansi-color.elLars Ingebrigtsen2019-06-191-43/+26
| | | | | | | | | | | | | | | | | | * lisp/ansi-color.el (ansi-color-apply-overlay-face) (ansi-color-make-face, ansi-color-make-extent) (ansi-color-set-extent-face): Remove XEmacs compat code.
* | | Update CC Mode's version number to 5.34Alan Mackenzie2019-06-192-3/+3
| | | | | | | | | | | | | | | * doc/misc/cc-mode.texi (top level, "Introduction"), lisp/progmodes/cc-defs.el (c-version): Update version number to 5.34.
* | | Update documentation of font backends on MS-WindowsEli Zaretskii2019-06-191-0/+9
| | | | | | | | | | | | | | | * doc/emacs/msdos.texi (Windows Fonts): Update the documentation of requesting specific font backends.
* | | Fix typo in previous erc.el changeLars Ingebrigtsen2019-06-191-18/+18
| | | | | | | | | | | | * lisp/erc/erc.el (erc-send-input): Fix typo in previous checkin.
* | | Use add/remove-hook on erc-pre-send-functionsLars Ingebrigtsen2019-06-192-6/+4
| | | | | | | | | | | | | | | | | | * lisp/erc/erc-goodies.el (noncommands): Ditto. * lisp/erc/erc-ring.el (ring): Use add/remove-hook.
* | | Move around defgeneric/defmethods in eieioLars Ingebrigtsen2019-06-192-17/+19
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (object-print): * lisp/emacs-lisp/eieio-base.el (eieio-object-set-name-string): Move the defgeneric before the defmethod, because that makes more sense.
* | | Fix previous change to erc (where commands like /me wouldn't be sent)Lars Ingebrigtsen2019-06-193-30/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-ring.el (erc-add-to-input-ring): * lisp/erc/erc-goodies.el (erc-send-distinguish-noncommands): Pass in a erc-input structure instead of a simple string. * lisp/erc/erc.el (erc-pre-send-functions): Document the new argument to the filter functions. (erc-send-input): Use the new structure to allow the filter functions to alter all three things: The string, whether to insert the string, and whether to send the string.
* | | Don't have erc-goodies and erc-ring register functions multiple timesLars Ingebrigtsen2019-06-192-2/+2
| | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-goodies.el (noncommands): Don't register functions twice. * lisp/erc/erc-ring.el (ring): Ditto.
* | | (with-suppressed-warnings): Make it apply to macro-expansion as wellStefan Monnier2019-06-191-20/+14
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): Change with-suppressed-warnings so it also affects the macro-expansion of the body.
* | | Rename function in completion.el to use completion- prefixesLars Ingebrigtsen2019-06-191-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/completion.el (locate-completion-entry) (completion-locate-entry, locate-completion-entry-retry) (completion-locate-entry-retry, locate-completion-db-error): Rename to use a completion- prefix and make the old names obsolete aliases. (add-completion-to-head, delete-completion): Use the new function names.
* | | * lisp/textmodes/page-ext.el: Further cleanupStefan Monnier2019-06-191-39/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pages--ctl-x-ctl-p-map): Rename from ctl-x-ctl-p-map. Move initialization into declaration. (pages-ctl-x-ctl-p-prefix): Rename from ctl-x-ctl-p-prefix. (sort-subr): Remove redundant autoload. (pages-set-delimiter): Use explicit `interactively` arg instead of `called-interactively`. Use `setq-local`. (pages-directory-for-addresses): Use `setq-local`.
* | | Fix compilation warning in pcmpl-gnu.elLars Ingebrigtsen2019-06-191-147/+145
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/pcmpl-gnu.el (pcomplete/tar): Remove binding of pcomplete-suffix-list, because it's not consulted in any of the functions called here, and has had no effect since 2011. If we want to support not inserting a space after the = sign, we have to implement that, but it's not currently done.
* | | Revert "Fix one of the tags/xref warnings in viper-ex.el"Lars Ingebrigtsen2019-06-191-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit 4f2f95049738be97df8647705a8fc05a029ed244. We can't mix calls to find-tag and xref-find-definitions
* | | Fix up the function/variable names in page-ext.elLars Ingebrigtsen2019-06-191-22/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/page-ext.el (previous-page) (search-pages) (sort-pages-in-region) (sort-pages-buffer) (pages-sort-buffer) (pages-set-delimiter): Rename to have pages- prefixes and make the previous name into aliases for the new names. (ctl-x-ctl-p-map): Use the new command names.
* | | Touch up the OKURI-NASI progress reportingLars Ingebrigtsen2019-06-191-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/ja-dic-cnv.el (skkdic-convert-okuri-ari) (skkdic-convert-postfix, skkdic-convert-prefix) (skkdic-collect-okuri-nasi): Use INFO progress reporting. (skkdic-set-okuri-nasi): Use the progress reporter instead of a per-1000 output.
* | | Tweak progess reporting in finder-compile-keywordsLars Ingebrigtsen2019-06-191-63/+70
| | | | | | | | | | | | | | | * lisp/finder.el (finder-compile-keywords): Use progress reporter to report the processing.
* | | Allow specifying the expected number of shift/reduce conflictsLars Ingebrigtsen2019-06-195-16/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/grammars/grammar.wy: Add %expectedconflicts. * lisp/cedet/semantic/grammar-wy.el (semantic-grammar-wy--keyword-table): Ditto. * lisp/cedet/semantic/grammar.el (semantic-grammar-expected-conflicts): New function. (semantic-grammar-insert-defconst-with-eval): New function. (semantic-grammar-create-package): Output the number of expected shift/reduce conflicts. * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts): Don't output the warning if the number of shift/reduce conflicts is expected. (wisent-expected-conflicts): Made obsolete.
* | | Tweak progress reporting in update-directory-autoloadsLars Ingebrigtsen2019-06-191-6/+8
| | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (update-directory-autoloads): Use progress reporter so say what percentage the progress is at.
* | | Compile any subsequence of `cond' clauses to switch (bug#36139)Mattias Engdegård2019-06-192-181/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A single `cond' form can how be compiled to any number of switch ops, optionally interspersed with non-switch conditions. Previously, switch ops would only be used for whole `cond' forms containing no other tests. * lisp/emacs-lisp/bytecomp.el (byte-compile--cond-vars): Rename from `byte-compile-cond-vars'. (byte-compile--default-val): Remove. (byte-compile--cond-switch-prefix): Replace `byte-compile-cond-jump-table-info'; now also returns trailing non-switch clauses. (byte-compile-cond-jump-table): New arguments; no longer compiles the default case. (byte-compile-cond): Look for and compile switches at any place in the list of clauses. * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data): Add test expression.
* | | Compile cond with heterogeneous tests into switch (bug#36139)Mattias Engdegård2019-06-192-13/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow any mixture of `eq', `eql' and `equal', `memq', `memql' and `member' in a switch-like `cond' to be compiled into a single switch. * lisp/emacs-lisp/bytecomp.el (byte-compile--common-test): New. (byte-compile-cond-jump-table-info): Use most specific common test. * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data): Add test cases for multi-value clause cond forms.
* | | Tighter pcase or-pattern member function selection (bug#36139)Mattias Engdegård2019-06-192-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/pcase.el (pcase--u1): Use the most specific of `memq', `memql' and `member' in or-patterns with constant cases. This improves performance and may help the byte-code compiler generate a switch. * test/lisp/emacs-lisp/pcase-tests.el (pcase-tests-member): Add mixed-type or-pattern test cases.