1. 28 Sep, 2017 1 commit
    • Mark Oteiza's avatar
      Add indent spec to easy-mmode macros · 551594e9
      Mark Oteiza authored
      Ideally these macros should expand to the proper code instead of
      relegating all the work to a function call.
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-defmap):
      (easy-mmode-define-syntax): Add indent spec.
  2. 27 Sep, 2017 2 commits
    • Mark Oteiza's avatar
      Mark some functions as pure · 1f02ae39
      Mark Oteiza authored
      * lisp/emacs-lisp/byte-opt.el: Add some functions that return integral
      values to the builtin list of pure functions.
    • Stefan Monnier's avatar
      * lisp/textmodes/page-ext.el: Misc cleanup, add RET binding · 56f7e4c2
      Stefan Monnier authored
      Use lexical-binding.
      Remove redundant :group args.
      (pages-directory-mode-map): Bind RET.
      (pages-buffer, pages-pos-list): Define as buffer-local.
      (pages-directory-map): Define as alias *before* the defvar.
      Mark as obsolete.
      (pages-buffer-original-position, pages-buffer-original-page):
      Move declaration to before the first use.
      (pages-directory): Remove unused var `linenum`.
      (pages-directory-goto): Add optional `event` arg and make it work when
      bound to mouse events.
      (pages-directory-goto-with-mouse): Make it an obsolete alias.
  3. 26 Sep, 2017 4 commits
  4. 25 Sep, 2017 11 commits
  5. 24 Sep, 2017 6 commits
    • Eric Abrahamsen's avatar
      Accept new `always' value for option `buffer-offer-save' · 3d3778d8
      Eric Abrahamsen authored
      Also revert ee512e9a
      * lisp/files.el (buffer-offer-save): In addition to nil and t, now
        allows a third symbol value, `always'. A buffer where this option is
        set to `always' will always be offered for save by
        (save-some-buffers): Check the exact value of this buffer-local
        variable. No longer check the buffer name, or the value of
      * doc/lispref/buffers.texi (Killing Buffers): Note change in manual.
      * doc/lispref/files.texi (Saving Buffers): Remove note about buffer
      * etc/NEWS: Mention in NEWS.
    • Alan Third's avatar
      Improve new NS scrolling variable names · 638f64c4
      Alan Third authored
      * src/nsterm.m (ns-use-system-mwheel-acceleration): Replace with
      (ns-touchpad-scroll-line-height): Replace with
      (ns-touchpad-use-momentum): Replace with 'ns-use-mwheel-momentum'.
      * etc/NEWS: Change variable names.
    • Philipp Stephani's avatar
      Document 'replace-buffer-contents' in the manual. · d9330124
      Philipp Stephani authored
      * doc/lispref/text.texi (Replacing): New node.
    • Mark Oteiza's avatar
      Expand recognized time intervals for MPC seeking · c7474fab
      Mark Oteiza authored
      Now accepts [+-]H:M:S and subsets.  Also accepts some odd variations of
      it since the regexp is not strict.  One unpleasant caveat is that
      string-to-number simply returns zero on failure instead of signaling an
      error.  At the moment, there are cases where instead of getting
      a user-error, the seek may simply not go where one expects it.
      * lisp/mpc.el (mpc-read-seek): New function.
      (mpc-seek-current): Use it.
    • Philipp Stephani's avatar
      Add configuration for clang-format. · 108df97b
      Philipp Stephani authored
      This allows developers to auto-format the C code with clang-format.
      It’s not 100% accurate, but works pretty well for most of the C code.
    • Philipp Stephani's avatar
      Make FILENAME argument of 'file-name-base' mandatory · 1eb4e5c3
      Philipp Stephani authored
      * lisp/files.el (file-name-base): Make FILENAME argument mandatory.
      * lisp/autoinsert.el (auto-insert-alist):
      * lisp/progmodes/cperl-mode.el (cperl-electric-pod):
      * lisp/progmodes/idlwave.el (idlwave-parse-definition):
      * lisp/textmodes/reftex-ref.el (reftex-replace-prefix-escapes): Fix
      all callers.
  6. 23 Sep, 2017 9 commits
  7. 22 Sep, 2017 6 commits
    • Mark Oteiza's avatar
      ; Fix typo · f656ccdb
      Mark Oteiza authored
      * lisp/emacs-lisp/subr-x.el: Nix extra parenthesis.
    • Eli Zaretskii's avatar
      Fix last change in bat-mode.el · d64da52d
      Eli Zaretskii authored
      * lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix last
      change.  (Bug#28311)
    • Eli Zaretskii's avatar
      Fix restoring in GUI sessions desktop saved in TTY sessions · 908af46a
      Eli Zaretskii authored
      * lisp/frameset.el (frameset-filter-font-param): New function.
      (frameset-persistent-filter-alist): Use it for processing the
      'font' frame parameter.  (Bug#17352)
    • Eli Zaretskii's avatar
      Improve syntax highlighting in bat-mode · 51cbd854
      Eli Zaretskii authored
      * lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Improve
      font-locking of environment variables.  Suggested by Achim Gratz
      <Stromeko@nexgo.de>.  (Bug#28311)  (Bug#18405)
    • Eli Zaretskii's avatar
      Document the 'list-FOO' convention · 02739166
      Eli Zaretskii authored
      * doc/lispref/tips.texi (Coding Conventions): Document the
      list-FOO convention.
    • Mark Oteiza's avatar
      Expose viewing conditions in CAM02-UCS metric · d24ec585
      Mark Oteiza authored
      Also add tests from the colorspacious library.  Finally, catch an
      errant calculation, where degrees were not being converted to radians.
      * src/lcms.c (deg2rad, default_viewing_conditions):
      (parse_viewing_conditions): New functions.
      (lcms-cam02-ucs): Add comments pointing to references used.  Expand
      the docstring and explain viewing conditions.  JCh hue is given in
      degrees and needs to be converted to radians.
      (lcms-d65-xyz): Remove.  No need to duplicate this in Lisp or make the
      API needlessly impure.
      * test/src/lcms-tests.el: Reword commentary.
      (lcms-rgb255->xyz): New function.
      (lcms-cri-cam02-ucs): Fix let-binding.
      (lcms-dE-cam02-ucs-silver): New test, assimilated from colorspacious.
  8. 21 Sep, 2017 1 commit