1. 20 Jun, 2019 35 commits
    • Paul Eggert's avatar
      Fix extraclean in a different way for info+lib/sys · 8bccbb98
      Paul Eggert authored
      * Makefile.in (extraclean):
      * lib/Makefile.in (extraclean): Use rmdir but suppress any
      error indication.  That way, ‘make extraclean’ will remove the
      directory if it’s empty, and successfully do nothing otherwise.
      8bccbb98
    • Eli Zaretskii's avatar
      Fix aborts when the value of a display property causes redisplay · e4e171bc
      Eli Zaretskii authored
      * src/xdisp.c (handle_single_display_spec): Protect the bidi
      cache from evaluation that triggers redisplay.  (Bug#36312)
      e4e171bc
    • Lars Ingebrigtsen's avatar
      Leave the emtpy info and lib/sys in extraclean · afc9d9b3
      Lars Ingebrigtsen authored
      * lib/Makefile.in: Ditto.
      
      * Makefile.in (extraclean): Don't use GNU-specific rmdir; just
      leave the empty directory be.
      afc9d9b3
    • Paul Eggert's avatar
      Simplify lib-src version printing · b6af2792
      Paul Eggert authored
      * lib-src/Makefile.in (etags_cflags): Remove.
      All uses replaced by a simple ‘-o $@’.
      (ebrowse${EXEEXT}, emacsclient${EXEEXT}, emacsclientw${EXEEXT}):
      Omit -DVERSION= option.
      * lib-src/ebrowse.c (VERSION):
      * lib-src/emacsclient.c (VERSION):
      * lib-src/etags.c (EMACS_NAME, VERSION): Remove.
      All uses replaced by PACKAGE_NAME and PACKAGE_VERSION.
      * lib-src/ebrowse.c (version):
      * lib-src/etags.c (print_version):
      Use fputs to output the version info, since that’s fputs_unlocked.
      * lib-src/etags.c (PROGRAM_NAME): New macro.
      (print_version): Use it.
      b6af2792
    • Lars Ingebrigtsen's avatar
      Make extraclean return tree to pristine state by deleting more · de4e1bdd
      Lars Ingebrigtsen authored
      * src/Makefile.in (extraclean): Remove TAGS and config.in.
      
      * Makefile.in (extraclean): Remove info, configure and
      emacsver.texi in extraclean.
      * admin/unidata/Makefile.in (extraclean): Make it depend on
      distclean to remove .elc files.
      
      * leim/Makefile.in (extraclean): Depend on bootstrap-clean to
      remove generated .el files.
      
      * lib/Makefile.in (extraclean): Added target to remove sys
      directory and run distclean.
      
      * lisp/Makefile.in (extraclean): Also remove loaddefs*.el~ files.
      de4e1bdd
    • Lars Ingebrigtsen's avatar
      Add doc strings to the ielm * variables · 756c48b3
      Lars Ingebrigtsen authored
      * lisp/ielm.el: (*, **, ***): Add doc strings.
      756c48b3
    • Lars Ingebrigtsen's avatar
      Don't define *, ** and ** in ielm as real variables · 14ef4539
      Lars Ingebrigtsen authored
      * lisp/ielm.el: (*, **, ***): Change defvars into compiler
      directives instead of real variable definitions to avoid polluting
      the global Emacs namespace.
      (*1, *2, *3): Ditto.
      14ef4539
    • Lars Ingebrigtsen's avatar
      Fix compilation warning in esh-mode · 2396aea6
      Lars Ingebrigtsen authored
      * lisp/eshell/esh-mode.el (eshell-mode): Remove special binding
      for M-. in eshell buffers: The comment indicates that this is
      outdated code.
      (eshell-find-tag): Make obsolete.
      2396aea6
    • Lars Ingebrigtsen's avatar
      Fix compilation warning in viper-exp involving tags · 2c5a3f41
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-ex.el (ex-tag): Use xref/next-error instead
      of the deprecated tags functions.
      2c5a3f41
    • Lars Ingebrigtsen's avatar
      Declare semantic-*overlay* aliases obsolete · 77e8d418
      Lars Ingebrigtsen authored
      * lisp/cedet/semantic/fw.el: Declare all the semantic-*overlay*
      aliases obsolete.
      77e8d418
    • Lars Ingebrigtsen's avatar
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from cedet · e383aade
      Lars Ingebrigtsen authored
      * lisp/cedet/srecode/mode.el (srecode-menu-bar):
      * lisp/cedet/semantic/wisent/comp.el (wisent-debug-flag)
      (wisent-print-results):
      * lisp/cedet/semantic/util-modes.el
      (semantic-stickyfunc-indent-string)
      (semantic-stickyfunc-header-line-format)
      (semantic-highlight-func-mode-map):
      * lisp/cedet/semantic/symref/list.el
      (semantic-symref-list-menu-entries):
      * lisp/cedet/semantic/idle.el ()
      (semantic-idle-breadcrumbs-popup-menu):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-item-value)
      (semantic-grammar-create-package)
      (semantic-grammar-batch-build-packages)
      (semantic-grammar-setup-menu):
      * lisp/cedet/semantic/fw.el (semantic-overlay-live-p)
      (semantic-event-window, semantic-make-local-hook)
      (semantic-run-mode-hooks, semantic-subst-char-in-string)
      (semantic-menu-item, semantic-find-file-noselect):
      * lisp/cedet/semantic/format.el (semantic-format-face-alist)
      (semantic--format-colorize-merge-text):
      * lisp/cedet/semantic/decorate/include.el ()
      (semantic-decoration-on-include-menu)
      (semantic-decoration-on-unknown-include-menu)
      (semantic-decoration-on-fileless-include-menu)
      (semantic-decoration-on-unparsed-include-menu):
      * lisp/cedet/semantic/decorate.el (semantic-set-tag-read-only)
      (semantic-tag-read-only-p):
      * lisp/cedet/mode-local.el (activate-mode-local-bindings):
      * lisp/cedet/data-debug.el (data-debug-overlay-properties): Remove
      XEmacs compat code.
      e383aade
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from gravatar.el · 86c3d928
      Lars Ingebrigtsen authored
      * lisp/image/gravatar.el (gravatar-retrieve): Remove XEmacs compat code
      86c3d928
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from erc · 9f4cced5
      Lars Ingebrigtsen authored
      * lisp/erc/erc-button.el (button, erc-button-keymap)
      (erc-button-setup, erc-button-add-button): Remove XEmacs compat code.
      
      * lisp/erc/erc-compat.el (erc-replace-match-subexpression-in-string):
      
      * lisp/erc/erc-log.el (erc-log-file-coding-system):
      
      * lisp/erc/erc-menu.el (menu):
      
      * lisp/erc/erc-stamp.el (erc-timestamp-use-align-to):
      
      * lisp/erc/erc-track.el (erc-modified-channels-object, track)
      (erc-track-mouse-face):
      
      * lisp/erc/erc.el (erc-update-undo-list)
      (erc-quit-reason-various, erc-part-reason-various, erc-cmd-SV)
      (erc-input-message, erc-get-channel-mode-from-keypress)
      (erc-update-mode-line-buffer):
      9f4cced5
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from table.el · 45a0ce09
      Lars Ingebrigtsen authored
      * lisp/textmodes/table.el:
      (table-disable-menu, null, table-recognize-cell)
      (table--make-cell-map, table--update-cell)
      (table--update-cell-widened, table--update-cell-heightened)
      (table--read-from-minibuffer, table--untabify)
      (table--update-cell-face, table--warn-incompatibility)
      (table--fill-region, table--set-timer): Remove XEmacs compat code.
      45a0ce09
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from dns-mode.el · 954b58f0
      Lars Ingebrigtsen authored
      * lisp/textmodes/dns-mode.el (dns-mode): Remove XEmacs compat code.
      954b58f0
    • Lars Ingebrigtsen's avatar
      Clean up eieio-custom slightly · b67a6cb8
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/eieio-custom.el: Remove commented out code.
      b67a6cb8
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from checkdoc.el · 4e0baad4
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): Remove
      XEmacs compat code.
      4e0baad4
    • Lars Ingebrigtsen's avatar
      Clean up after previous viper patch · 717a99da
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-ex.el (viper-get-ex-address-subr): Fix
      syntax error in last checkin.
      (viper-ex): Don't use now-obsolete function.
      717a99da
    • Lars Ingebrigtsen's avatar
      Remove most of the XEmacs compat code from viper*.el · dfec2bc7
      Lars Ingebrigtsen authored
      * 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.
      dfec2bc7
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from viper-macs.el · 82aeaf16
      Lars Ingebrigtsen authored
      * lisp/emulation/viper-macs.el (viper-char-array-to-macro):
      Remove XEmacs compat code.
      82aeaf16
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from viper-cmd.el · a4047f9d
      Lars Ingebrigtsen authored
      * 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.
      a4047f9d
    • Lars Ingebrigtsen's avatar
      Remove XEmacs and old Emacs compat code from gamegrid.el · 1f6e6ee4
      Lars Ingebrigtsen authored
      * 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.
      1f6e6ee4
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from binhex.el · ec45664d
      Lars Ingebrigtsen authored
      * 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.
      ec45664d
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from uudecode.el · ac3219c0
      Lars Ingebrigtsen authored
      * lisp/mail/uudecode.el (uudecode-decode-region-external)
      (uudecode-decode-region-internal): Remove XEmacs compat code.
      ac3219c0
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from pascal.el · 3c16eda5
      Lars Ingebrigtsen authored
      * lisp/progmodes/pascal.el (pascal-mark-defun): Remove XEmacs compat.
      3c16eda5
    • Lars Ingebrigtsen's avatar
      Remove XEmacs support from cperl-mode · c2e27949
      Lars Ingebrigtsen authored
      * 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.
      c2e27949
    • Paul Eggert's avatar
      Simplify stdout buffering · 920745eb
      Paul Eggert authored
      * src/sysdep.c (_sobuf): Remove; we no longer need this
      microoptimization.
      (init_sys_modes): Simplify by assuming setvbuf.
      920745eb
    • Paul Eggert's avatar
      Remove no-longer-needed fflushes of stderr · 2dbe05d0
      Paul Eggert authored
      * 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.
      2dbe05d0
    • Paul Eggert's avatar
      Line-buffer stderr · 2079e40a
      Paul Eggert authored
      * src/sysdep.c (init_standard_fds) [!DOS_NT]:
      Use setvbuf to ensure stderr is line-buffered.
      2079e40a
    • Paul Eggert's avatar
      Fix arbitrary INT_MAX limit on referrer repr · 4e8083ec
      Paul Eggert authored
      * src/pdumper.c (print_paths_to_root_1):
      Don’t assume strlen (repr) < INT_MAX.
      4e8083ec
    • Paul Eggert's avatar
      Minor putc tweaks · 5f32ac13
      Paul Eggert authored
      * 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.
      5f32ac13
    • YAMAMOTO Mitsuharu's avatar
      Change font_put_extra value for property removal from Qnil to Qunbound · fdbbbf94
      YAMAMOTO Mitsuharu authored
      * 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.
      fdbbbf94
    • YAMAMOTO Mitsuharu's avatar
      Fix failure of setting default face attribute in init script (Bug#36284) · 0701634a
      YAMAMOTO Mitsuharu authored
      * src/xsettings.c (apply_xft_settings): Undo replacing all #ifdef HAVE_XFT
      with #if defined USE_CAIRO || defined HAVE_XFT for this function.
      0701634a
    • Roland Winkler's avatar
  2. 19 Jun, 2019 5 commits