1. 19 Dec, 2016 1 commit
  2. 13 Dec, 2016 1 commit
    • Phillip Lord's avatar
      Replace ldefs-boot with a much smaller file · c27b6459
      Phillip Lord authored
       * Makefile.in (bootstrap-build,generate-ldefs-boot): New targets.
         (bootstrap): Depend on bootstrap-build.
       * admin/ldefs-clean.el: New file.
       * lisp/Makefile.in (compile-first): Depend on loaddefs.el
       * lisp/ldefs-boot.el: Remove.
       * lisp/ldefs-boot-auto.el: New file.
       * lisp/ldefs-boot-manual.el: New file.
       * lisp/loadup.el: Load ldefs-boot-manual.el.
       * src/emacs.c (generating_ldefs_boot): New variable.
         (main): Check whether we are generating ldefs.
       * src/eval.c (autoload-do-load): Dump autoload forms to stderr when
         requested.
       * src/lisp.h (generating_ldefs_boot): New variable.
       * admin/gitmerge.el, admin/make-tarball.txt, admin/notes/copyright,
         lisp/Makefile.in, lisp/cus-dep.el, lisp/emacs-lisp/elint.el,
         lisp/finder.el, lisp/loadup.el, msdos/mainmake.v2: Update reference to
         ldefs-boot.
       * admin/update_autogen: Alter mechanism for ldefs-boot generation.
      c27b6459
  3. 01 Jun, 2016 1 commit
    • Paul Eggert's avatar
      Avoid delving into Git internals for version · 1e5539e0
      Paul Eggert authored
      * lisp/loadup.el (exec-path): Set it to nil later, so that
      emacs-repository-get-version can invoke git commands in the PATH.
      * lisp/version.el (emacs-repository--version-git-1): Remove.
      (emacs-repository-get-version): Let Git do it rather than
      delving into Git internals.
      1e5539e0
  4. 26 May, 2016 1 commit
    • Stefan Monnier's avatar
      Make autoloads populate a new definition-prefixes table · e971ce6d
      Stefan Monnier authored
      * lisp/subr.el (definition-prefixes): New hash table.
      (register-definition-prefixes): New function.
      
      * lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): New var.
      (autoload--split-prefixes-1, autoload--split-prefixes)
      (autoload--make-defs-autoload): New functions.
      (autoload-defs-autoload-max-size, autoload-popular-prefixes): New vars.
      (autoload-generate-file-autoloads): Obey autoload-compute-prefixes.
      (update-directory-autoloads): Don't touch loaddefs.el if the set of
      autoloads hasn't changed (i.e. if only the timestamp would change).
      
      * lisp/loadup.el: Purify definition-prefixes.
      
      * lisp/w32-fns.el: Keep name space clean.
      (w32-set-default-process-coding-system): Rename from
      set-default-process-coding-system.
      (w32-set-system-coding-system): Rename from set-w32-system-coding-system.
      e971ce6d
  5. 15 Mar, 2016 1 commit
  6. 12 Mar, 2016 1 commit
    • Eli Zaretskii's avatar
      Avoid crashes at startup on systems that CANNOT_DUMP · 48196164
      Eli Zaretskii authored
      * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
      boolean variable.
      (init_iterator, reseat_to_string)
      (Fcurrent_bidi_paragraph_direction)
      (Fbidi_find_overridden_directionality): Use
      redisplay--inhibit-bidi instead of purify-flag, to determine when
      it's safe to reorder bidirectional text.
      
      * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
      beginning of the file.  Reset to nil when charprop.el is
      successfully loaded, or when we are going to dump, whichever
      happens last.  (Bug#22975)
      48196164
  7. 01 Jan, 2016 1 commit
  8. 25 Dec, 2015 2 commits
  9. 24 Dec, 2015 1 commit
  10. 23 Dec, 2015 1 commit
    • Anders Lindgren's avatar
      File-name completion of non-ASCII characters on OS X (bug#22169) · 09053075
      Anders Lindgren authored
      The coding system `utf-8-nfd', locally defined in ns-win.el,
      didn't provide a :pre-write-conversion method, causing file name
      completion of non-ASCII characters to fail.  Solved by using the
      `utf-8-hfs' coding system provided by `ucs-normalize'.
      
      * lisp/loadup.el: Load international/ucs-normalize (when building
      for ns).
      
      * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
      `utf-8-hfs' and removed the old implementation.  Set `utf-8-hfs'
      as the file name coding system.
      
      * src/nsfns.c (ns-convert-utf8-nfd-to-nfc): Removed.
      09053075
  11. 19 Nov, 2015 1 commit
    • Przemysław Wojnowski's avatar
      Use obarray functions from obarray. · 5c81fd58
      Przemysław Wojnowski authored
      * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
        abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
        clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
        delegate to obarray.el functions.
      * lisp/loadup.el: load obarray before abbrev
      * test/automated/abbrev-tests.el: new tests
      5c81fd58
  12. 18 Nov, 2015 1 commit
  13. 13 Nov, 2015 2 commits
  14. 16 Jun, 2015 1 commit
  15. 17 May, 2015 1 commit
    • Glenn Morris's avatar
      * src/lisp.mk: Remove from repository and generate at build-time. · 46ea9379
      Glenn Morris authored
      * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
      (shortlisp_filter): New variable.
      (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
      (distclean): Remove lisp.mk.
      * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
      * lisp/loadup.el: Tweak layout to make it easier to parse.
      * make-dist: Do not distribute src/lisp.mk.
      46ea9379
  16. 16 May, 2015 1 commit
    • Glenn Morris's avatar
      Small src/Makefile simplification. · e3c90430
      Glenn Morris authored
      * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
      * src/Makefile.in (lisp): Derive from shortlisp.
      ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
      e3c90430
  17. 15 May, 2015 1 commit
    • Glenn Morris's avatar
      Tweak japanese.el's loading of dependencies. · c7e93c41
      Glenn Morris authored
      * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
      * lisp/language/japanese.el: Use require rather than load.
      * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
      Provide a feature.
      * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
      Provide a feature in the generated file.
      c7e93c41
  18. 13 May, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload · 37ab2245
      Stefan Monnier authored
      * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
      Avoid defalias for closures which are not immutable.
      (cl--generic-prefill-dispatchers): New macro.  Use it to prefill the
      dispatchers table with various entries.
      
      * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
      * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
      37ab2245
  19. 20 Apr, 2015 3 commits
  20. 15 Apr, 2015 1 commit
  21. 13 Apr, 2015 1 commit
  22. 28 Jan, 2015 1 commit
    • Stefan Monnier's avatar
      Tighten up the tagcode used for eieio and cl-struct objects · 2668ac1a
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
      slot of the tag symbol to :quick-object-witness-check.
      (eieio-object-p): Use :quick-object-witness-check.
      (eieio--generic-tagcode): Use cl--generic-struct-tag.
      * lisp/emacs-lisp/cl-preloaded.el: New file.
      * lisp/emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
      (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
      (cl--make-usage-args): Strip away &aux args.
      (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
      (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
      (cl-defstruct): Use `declare' and cl-struct-define.
      * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
      (cl--generic-struct-tagcode): Use it to tighten the tagcode.
      * lisp/loadup.el: Load cl-preloaded.
      * src/lisp.mk (lisp): Add cl-preloaded.
      2668ac1a
  23. 01 Jan, 2015 2 commits
  24. 15 Oct, 2014 1 commit
  25. 06 Oct, 2014 3 commits
  26. 01 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      Consolidate x-select-text. · a8b36b95
      Stefan Monnier authored
      * lisp/frame.el (gui-method, gui-method-define, gui-method-declare)
      (gui-call): New macros.
      (gui-method--name): New function.
      (frame-creation-function-alist): Use gui-method-declare.
      (make-frame): Use gui-method.
      * lisp/select.el (gui-select-enable-clipboard): Rename from
      x-select-enable-clipboard and move here.
      (x-select-enable-clipboard): Define as obsolete alias.
      (gui-last-selected-text): New var, to replace x-last-selected-text.
      (gui-select-text): New GUI method.
      (gui-select-text): New function.
      (x-select-text): Define as obsolete alias.
      * lisp/term/common-win.el (x-select-enable-clipboard, x-select-text):
      Move to select.el.
      * lisp/simple.el (interprogram-cut-function): Change default to
      x-select-text.
      (interprogram-paste-function): Change default to `ignore'.
      * lisp/w32-common-fns.el (interprogram-cut-function): Don't modify.
      * lisp/term/x-win.el (interprogram-cut-function): Don't modify.
      (gui-select-text): Add method for x.
      * lisp/term/w32-win.el (gui-select-text): Add method for w32.
      * lisp/term/pc-win.el (x-last-selected-text): Remove, use
      gui-last-selected-text instead.
      (msdos-initialize-window-system): Don't set interprogram-cut-function.
      (gui-select-text): Add method for pc.
      * lisp/term/ns-win.el (ns-last-selected-text): Remove, use
      gui-last-selected-text instead.
      (gui-select-text): Add method for ns.
      (x-setup-function-keys): Don't change interprogram-cut-function.
      * lisp/loadup.el ("startup"): Load after "frame".
      * lisp/subr.el (package--builtin-versions, package--description-file):
      Move from startup.el.
      * lisp/startup.el (package--builtin-versions, package--description-file):
      Move to subr.el.
      (handle-args-function-alist, window-system-initialization-alist):
      Use gui-method-declare.
      (command-line): Use gui-method.
      * src/xselect.c (selection-converter-alist): Fix docstring.
      a8b36b95
  27. 27 Sep, 2014 1 commit
    • Stefan Monnier's avatar
      Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el. · e6cfa098
      Stefan Monnier authored
      * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
      (eldoc-schedule-timer): Obey it.
      (eldoc-documentation-function): Default to nil.
      (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
      (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
      (eldoc-highlight-function-argument, eldoc-get-var-docstring)
      (eldoc-last-data-store, eldoc-docstring-first-line)
      (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
      (eldoc-beginning-of-sexp, eldoc-current-symbol)
      (eldoc-function-argstring): Move to elisp-mode.el.
      (eldoc-symbol-function): Remove, unused.
      * lisp/progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
      (elisp-completion-at-point): Rename from lisp-completion-at-point.
      (elisp--preceding-sexp): Rename from preceding-sexp.
      * lisp/loadup.el: Load new file progmodes/elisp-mode.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
      * lisp/emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
      (lisp--local-variables-completion-table, lisp--expect-function-p)
      (lisp--form-quoted-p, lisp--company-doc-buffer)
      (lisp--company-doc-string, lisp--company-location)
      (lisp-completion-at-point): Move to elisp-mode.el.
      * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
      extracted from emacs-lisp-mode-syntax-table.
      (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
      elisp-mode.el.
      (lisp-imenu-generic-expression): Add comments to document what comes
      from which Lisp dialect.
      (emacs-lisp-mode-map, emacs-lisp-byte-compile)
      (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
      (emacs-lisp-mode, emacs-list-byte-code-comment-re)
      (emacs-lisp-byte-code-comment)
      (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
      (lisp-interaction-mode-map, lisp-interaction-mode)
      (eval-print-last-sexp, last-sexp-setup-props)
      (last-sexp-toggle-display, prin1-char, preceding-sexp)
      (eval-last-sexp-1, eval-last-sexp-print-value)
      (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
      (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
      * src/lisp.mk (lisp): Add elisp-mode.elc.
      e6cfa098
  28. 22 Sep, 2014 1 commit
  29. 01 Jun, 2014 1 commit
  30. 30 May, 2014 1 commit
  31. 18 May, 2014 1 commit
  32. 10 Feb, 2014 1 commit
  33. 08 Jan, 2014 1 commit