1. 12 Apr, 2021 16 commits
    • Glenn Morris's avatar
      2ec25de5
    • Stefan Monnier's avatar
      (define-minor-mode): Warn about use of pre-Emacs-21 style args · 6bec60ad
      Stefan Monnier authored
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
      Use `advertised-calling-convention` to avoid promoting the old
      style arguments.  Emit a wanring when old-style arguments are used.
      Massage the docstring accordingly.
      * doc/lispref/modes.texi (Defining Minor Modes): Document the keyword
      arguments rather than the old-style positional arguments.
      6bec60ad
    • Stefan Monnier's avatar
    • Lars Ingebrigtsen's avatar
      Adjust verilog-mode to changes in the completion framework · 72db25ef
      Lars Ingebrigtsen authored
      * lisp/progmodes/verilog-mode.el (verilog-func-completion): Don't
      bug out on `C-M-i' (which expects no point movement) (bug#47652).
      (verilog-declaration-end): There may be no semicolons; don't bug out.
      72db25ef
    • Shitikanth Kashyap's avatar
      Fix python-shell-switch-to-shell redisplay bug · f2ab4cec
      Shitikanth Kashyap authored
      * lisp/progmodes/python.el (python-shell-switch-to-shell):
      Redisplay the switched-to window faster (bug#47679).
      
      Copyright-paperwork-exempt: yes
      f2ab4cec
    • Ralph Schleicher's avatar
      Add command in eww to toggle images · 9dc28e1f
      Ralph Schleicher authored
      * lisp/net/eww.el (eww-toggle-images): New function.
      (eww-mode-map): Add key binding and menu entry.
      * lisp/net/shr.el (shr-inhibit-images): Make it customizable.
      * doc/misc/eww.texi (Basics): Document eww-toggle-images.
      Fix index entries for shr-use-fonts and shr-use-colors.
      (Advanced): Document shr-inhibit-images
      (bug#47705).
      9dc28e1f
    • Junya Takahashi's avatar
      Fix args-out-of-range error in epa-file-insert-file-contents · 636e9fd6
      Junya Takahashi authored
      * lisp/epa-file.el (epa-file-insert-file-contents): Don't bug out
      on a region that's longer than the file (bug#47718).
      
      Copyright-paperwork-exempt: yes
      636e9fd6
    • Philipp Stephani's avatar
      104c5e3d
    • Philipp Stephani's avatar
      Generate Seccomp filters only if we have the necessary constants. · 17d20bb3
      Philipp Stephani authored
      If we're missing SECCOMP_SET_MODE_FILTER, the seccomp-filter build
      fails.  Reuse the existing HAVE_SECCOMP configuration variable, which
      checks for these macros.
      
      * configure.ac (HAVE_SECCOMP): Substitute in Makefile.in.
      * lib-src/Makefile.in (HAVE_SECCOMP): New variable.
      (SECCOMP_FILTER): Define only if HAVE_SECCOMP.
      17d20bb3
    • Stefan Monnier's avatar
      * lisp/**/*.el: Avoid positional args to `define-minor-mode` · c45bfd3c
      Stefan Monnier authored
      Back in Emacs-21.1, `define-minor-mode` grew keywords arguments to
      replace its old positional arguments.  Let's make sure we don't use
      the old-style any more.
      
      * lisp/org/ox-beamer.el (org-beamer-mode-map): Move initialization
      into declaration.
      (org-beamer-mode):
      * lisp/textmodes/tildify.el (tildify-mode):
      * lisp/textmodes/sgml-mode.el (html-autoview-mode):
      * lisp/textmodes/rst.el (rst-minor-mode):
      * lisp/textmodes/remember.el (remember-notes-mode):
      * lisp/textmodes/ispell.el (ispell-minor-mode):
      * lisp/tar-mode.el (tar-subfile-mode):
      * lisp/strokes.el (strokes-mode):
      * lisp/so-long.el (so-long-minor-mode):
      * lisp/shell.el (shell-dirtrack-mode):
      * lisp/scroll-all.el (scroll-all-mode):
      * lisp/ruler-mode.el (ruler-mode):
      * lisp/rect.el (rectangle-mark-mode):
      * lisp/progmodes/sh-script.el (sh-electric-here-document-mode):
      * lisp/outline.el (outline-minor-mode):
      * lisp/org/org.el (org-cdlatex-mode):
      * lisp/org/org-table.el (org-table-header-line-mode)
      (org-table-follow-field-mode, orgtbl-mode):
      * lisp/org/org-src.el (org-src-mode):
      * lisp/org/org-list.el (org-list-checkbox-radio-mode):
      * lisp/org/org-indent.el (org-indent-mode):
      * lisp/org/org-capture.el (org-capture-mode):
      * lisp/obsolete/pc-select.el (pc-selection-mode):
      * lisp/obsolete/iswitchb.el (iswitchb-mode):
      * lisp/net/rcirc.el (rcirc-omit-mode, rcirc-multiline-minor-mode)
      (rcirc-track-minor-mode):
      * lisp/net/goto-addr.el (goto-address-mode, goto-address-prog-mode):
      * lisp/image-mode.el (image-minor-mode):
      * lisp/ibuf-ext.el (ibuffer-auto-mode):
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode):
      * lisp/font-core.el (font-lock-mode):
      * lisp/erc/erc.el (define-erc-module):
      * lisp/erc/erc-track.el (erc-track-minor-mode):
      * lisp/erc/erc-fill.el (erc-fill-mode):
      * lisp/epa-mail.el (epa-mail-mode):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode):
      * lisp/dirtrack.el (dirtrack-mode, dirtrack-debug-mode):
      * lisp/dired-aux.el (dired-isearch-filenames-mode):
      * lisp/cedet/semantic/idle.el (semantic-idle-scheduler-mode):
      * lisp/cedet/semantic/decorate/mode.el (semantic-decoration-mode):
      * lisp/autoarg.el (autoarg-mode, autoarg-kp-mode):
      * lisp/vc/pcvs.el (cvs-minor-mode):
      Avoid old-style positional args to `define-minor-mode`.
      c45bfd3c
    • Stefan Monnier's avatar
      * lisp/gnus/message.el: Give non-nil defaults for function vars · ccfd6a97
      Stefan Monnier authored
      Also prefer #' to quote functions.
      
      (message-send-rename-function, message-reply-to-function)
      (message-wide-reply-to-function, message-followup-to-function):
      Use a non-nil default value so it can be used with `add-function`.
      (message-do-send-housekeeping): Tweak accordingly.
      (message-get-reply-headers): Simplify by η-reduction.
      ccfd6a97
    • Stefan Monnier's avatar
      * lisp/eshell/esh-util.el: Require `seq` · a89da3f0
      Stefan Monnier authored
      Also remove redundant `:group` args and tweak comment
      a89da3f0
    • Stefan Monnier's avatar
      * lisp/eshell/esh-proc.el (eshell-kill-process-function): Use `remove-hook` · 24073c64
      Stefan Monnier authored
      Also remove redundant `:group` args
      24073c64
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * lisp/vc/log-edit.el (log-edit-diff-function): Give non-nil default · 28a5932e
      Stefan Monnier authored
      (log-edit-show-diff): Simplify accordingly.
      28a5932e
  2. 11 Apr, 2021 20 commits
  3. 10 Apr, 2021 4 commits