1. 02 Oct, 2020 1 commit
  2. 01 Oct, 2020 1 commit
  3. 18 Jun, 2020 1 commit
    • Basil L. Contovounesios's avatar
      Fix and extend format-spec (bug#41758) · 0185d76e
      Basil L. Contovounesios authored
      * lisp/format-spec.el: Use lexical-binding.  Remove dependence on
      subr-x.el.
      (format-spec-make): Clarify docstring.
      (format-spec--parse-modifiers): Rename to...
      (format-spec--parse-flags): ...this and simplify.  In particular,
      don't bother parsing :space-pad which is redundant and unused.
      (format-spec--pad): Remove, replacing with...
      (format-spec--do-flags): ...this new helper function which performs
      more of format-spec's supported text manipulation.
      (format-spec): Autoload.  Allow optional argument to take on special
      values 'ignore' and 'delete' for more control over what happens when
      a replacement for a format specification isn't provided.  Bring back
      proper support for a precision modifier similar to that of 'format'.
      
      * lisp/battery.el (battery-format): Rewrite in terms of format-spec.
      (battery-echo-area-format, battery-mode-line-format): Mention
      support of format-spec syntax in docstrings.
      
      * doc/lispref/strings.texi (Custom Format Strings):
      * etc/NEWS: Document and announce these changes.
      
      * lisp/dired-aux.el (dired-do-compress-to):
      * lisp/erc/erc-match.el (erc-log-matches):
      * lisp/erc/erc.el (erc-update-mode-line-buffer):
      * lisp/gnus/gnus-sieve.el (gnus-sieve-update):
      * lisp/gnus/gssapi.el (open-gssapi-stream):
      * lisp/gnus/mail-source.el (mail-source-fetch-file)
      (mail-source-fetch-directory, mail-source-fetch-pop)
      (mail-source-fetch-imap):
      * lisp/gnus/message.el (message-insert-formatted-citation-line):
      * lisp/image-dired.el:
      * lisp/net/eww.el:
      * lisp/net/imap.el (imap-kerberos4-open, imap-gssapi-open)
      (imap-shell-open):
      * lisp/net/network-stream.el (network-stream-open-shell):
      * lisp/obsolete/tls.el (open-tls-stream):
      * lisp/textmodes/tex-mode.el:
      Remove extraneous loads and autoloads of format-spec now that it is
      autoloaded and simplify its uses where possible.
      
      * test/lisp/battery-tests.el (battery-format): Test new format-spec
      support.
      * test/lisp/format-spec-tests.el (test-format-spec): Rename to...
      (format-spec) ...this, extending test cases.
      (test-format-unknown): Rename to...
      (format-spec-unknown): ...this, extending test cases.
      (test-format-modifiers): Rename to...
      (format-spec-flags): ...this.
      (format-spec-make, format-spec-parse-flags, format-spec-do-flags)
      (format-spec-do-flags-truncate, format-spec-do-flags-pad)
      (format-spec-do-flags-chop, format-spec-do-flags-case): New tests.
      0185d76e
  4. 19 Feb, 2020 1 commit
    • Paul Eggert's avatar
      Fix some file-modes races · 734eb7e4
      Paul Eggert authored
      * lisp/gnus/gnus-start.el (gnus-save-newsrc-file)
      (gnus-slave-save-newsrc):
      * lisp/gnus/gnus-uu.el (gnus-uu-initialize):
      * lisp/gnus/mm-archive.el (mm-dissect-archive):
      * lisp/gnus/mm-decode.el (mm-temp-files-delete)
      (mm-display-external):
      * lisp/image-dired.el (image-dired-create-thumb-1):
      Use with-file-modes rather than setting the file modes later.
      This fixes some race conditions where the file temporarily
      has the wrong permissions.
      734eb7e4
  5. 22 Jan, 2020 1 commit
    • Christophe Deleuze's avatar
      Fix doc strings for image-dired rotation commands · 4f2b9677
      Christophe Deleuze authored
      * lisp/image-dired.el (image-dired-rotate-thumbnail-left)
      (image-dired-rotate-thumbnail-right)
      (image-dired-rotate-original-left)
      (image-dired-rotate-original-right): Move the text in the doc
      strings about rotating the originals to the correct commands
      (bug#38928).
      4f2b9677
  6. 01 Jan, 2020 1 commit
  7. 11 Nov, 2019 1 commit
  8. 11 Oct, 2019 1 commit
    • Robert Pluim's avatar
      Correct some more custom type specs · de063da6
      Robert Pluim authored
      * lisp/winner.el (winner-boring-buffers-regexp):
      * lisp/progmodes/js.el (js-jsx-indent-level):
      * lisp/image-dired.el (image-dired-external-viewer):
      * lisp/gnus/nnir.el (nnir-notmuch-filter-group-names-function):
      Correct custom type specification.
      
      * lisp/textmodes/bibtex.el (bibtex-string-file-path):
      (bibtex-file-path): Correct custom type specification and document
      source of initial value.
      de063da6
  9. 20 Sep, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos and other trivial doc fixes · 11432322
      Juanma Barranquero authored
      * lisp/allout-widgets.el (allout-widgets-auto-activation)
      (allout-current-decorated-p):
      * lisp/auth-source.el (auth-source-protocols):
      * lisp/autorevert.el (auto-revert-set-timer):
      * lisp/battery.el (battery-mode-line-limit):
      * lisp/calc/calcalg3.el (math-map-binop):
      * lisp/calendar/cal-dst.el (calendar-dst-find-startend):
      * lisp/calendar/cal-mayan.el (calendar-mayan-long-count-to-absolute):
      * lisp/calendar/calendar.el (calendar-date-echo-text)
      (calendar-generate-month, calendar-string-spread)
      (calendar-cursor-to-date, calendar-read, calendar-read-date)
      (calendar-mark-visible-date, calendar-dayname-on-or-before):
      * lisp/calendar/diary-lib.el (diary-ordinal-suffix):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-new-program)
      (autoconf-find-last-macro, autoconf-parameter-strip):
      * lisp/cedet/ede/config.el (ede-target-with-config-build):
      * lisp/cedet/ede/linux.el (ede-linux--detect-architecture)
      (ede-linux--get-architecture):
      * lisp/cedet/semantic/complete.el (semantic-collector-calculate-cache)
      (semantic-displayer-abstract, semantic-displayer-point-position):
      * lisp/cedet/semantic/format.el (semantic-format-face-alist)
      (semantic-format-tag-short-doc):
      * lisp/cedet/semantic/fw.el (semantic-find-file-noselect):
      * lisp/cedet/semantic/idle.el (semantic-idle-scheduler-work-idle-time)
      (semantic-idle-breadcrumbs-display-function)
      (semantic-idle-breadcrumbs-format-tag-list-function):
      * lisp/cedet/semantic/lex.el (semantic-lex-map-types)
      (define-lex, define-lex-block-type-analyzer):
      * lisp/cedet/semantic/senator.el (senator-search-default-tag-filter):
      * lisp/cedet/semantic/symref.el (semantic-symref-result)
      (semantic-symref-hit-to-tag-via-db):
      * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
      * lisp/cedet/semantic/tag.el (semantic-tag-new-variable)
      (semantic-tag-new-include, semantic-tag-new-package)
      (semantic-tag-set-faux, semantic-create-tag-proxy)
      (semantic-tag-function-parent)
      (semantic-tag-components-with-overlays):
      * lisp/cedet/srecode/cpp.el (srecode-cpp-namespaces)
      (srecode-semantic-handle-:c, srecode-semantic-apply-tag-to-dict):
      * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary)
      (srecode-dictionary-add-entries, srecode-dictionary-lookup-name)
      (srecode-create-dictionaries-from-tags):
      * lisp/cmuscheme.el (scheme-compile-region):
      * lisp/color.el (color-lab-to-lch):
      * lisp/doc-view.el (doc-view-image-width)
      (doc-view-set-up-single-converter):
      * lisp/dynamic-setting.el (font-setting-change-default-font)
      (dynamic-setting-handle-config-changed-event):
      * lisp/elec-pair.el (electric-pair-text-pairs)
      (electric-pair-skip-whitespace-function)
      (electric-pair-string-bound-function):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance)
      (avl-tree-member, avl-tree-mapcar, avl-tree-iter):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-generate-call-tree):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-autofix-flag)
      (checkdoc-spellcheck-documentation-flag, checkdoc-ispell)
      (checkdoc-ispell-current-buffer, checkdoc-ispell-interactive)
      (checkdoc-ispell-message-interactive)
      (checkdoc-ispell-message-text, checkdoc-ispell-start)
      (checkdoc-ispell-continue, checkdoc-ispell-comments)
      (checkdoc-ispell-defun):
      * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
      * lisp/emacs-lisp/eieio-custom.el (eieio-read-customization-group):
      * lisp/emacs-lisp/lisp.el (forward-sexp, up-list):
      * lisp/emacs-lisp/package-x.el (package--archive-contents-from-file):
      * lisp/emacs-lisp/package.el (package-desc)
      (package--make-autoloads-and-stuff, package-hidden-regexps):
      * lisp/emacs-lisp/tcover-ses.el (ses-exercise-startup):
      * lisp/emacs-lisp/testcover.el (testcover-nohits)
      (testcover-1value):
      * lisp/epg.el (epg-receive-keys, epg-start-edit-key):
      * lisp/erc/erc-backend.el (erc-server-processing-p)
      (erc-split-line-length, erc-server-coding-system)
      (erc-server-send, erc-message):
      * lisp/erc/erc-button.el (erc-button-face, erc-button-alist)
      (erc-browse-emacswiki):
      * lisp/erc/erc-ezbounce.el (erc-ezbounce, erc-ezb-get-login):
      * lisp/erc/erc-fill.el (erc-fill-variable-maximum-indentation):
      * lisp/erc/erc-log.el (erc-current-logfile):
      * lisp/erc/erc-match.el (erc-log-match-format)
      (erc-text-matched-hook):
      * lisp/erc/erc-netsplit.el (erc-netsplit, erc-netsplit-debug):
      * lisp/erc/erc-networks.el (erc-server-alist)
      (erc-networks-alist, erc-current-network):
      * lisp/erc/erc-ring.el (erc-input-ring-index):
      * lisp/erc/erc-speedbar.el (erc-speedbar)
      (erc-speedbar-update-channel):
      * lisp/erc/erc-stamp.el (erc-timestamp-only-if-changed-flag):
      * lisp/erc/erc-track.el (erc-track-position-in-mode-line)
      (erc-track-remove-from-mode-line, erc-modified-channels-update)
      (erc-track-last-non-erc-buffer, erc-track-sort-by-importance)
      (erc-track-get-active-buffer):
      * lisp/erc/erc.el (erc-get-channel-user-list)
      (erc-echo-notice-hook, erc-echo-notice-always-hook)
      (erc-wash-quit-reason, erc-format-@nick):
      * lisp/ffap.el (ffap-latex-mode):
      * lisp/files.el (abort-if-file-too-large)
      (dir-locals--get-sort-score, buffer-stale--default-function):
      * lisp/filesets.el (filesets-tree-max-level, filesets-data)
      (filesets-update-pre010505):
      * lisp/gnus/gnus-agent.el (gnus-agent-flush-cache):
      * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
      (gnus-button-prefer-mid-or-mail):
      * lisp/gnus/gnus-cus.el (gnus-group-parameters):
      * lisp/gnus/gnus-demon.el (gnus-demon-handlers)
      (gnus-demon-run-callback):
      * lisp/gnus/gnus-dired.el (gnus-dired-print):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-buffer):
      * lisp/gnus/gnus-range.el (gnus-range-normalize):
      * lisp/gnus/gnus-spec.el (gnus-pad-form):
      * lisp/gnus/gnus-srvr.el (gnus-server-agent, gnus-server-cloud)
      (gnus-server-opened, gnus-server-closed, gnus-server-denied)
      (gnus-server-offline):
      * lisp/gnus/gnus-sum.el (gnus-refer-thread-use-nnir)
      (gnus-refer-thread-limit-to-thread)
      (gnus-summary-limit-include-thread, gnus-summary-refer-thread)
      (gnus-summary-find-matching):
      * lisp/gnus/gnus-util.el (gnus-rescale-image):
      * lisp/gnus/gnus.el (gnus-summary-line-format, gnus-no-server):
      * lisp/gnus/mail-source.el (mail-source-incoming-file-prefix):
      * lisp/gnus/message.el (message-cite-reply-position)
      (message-cite-style-outlook, message-cite-style-thunderbird)
      (message-cite-style-gmail, message--send-mail-maybe-partially):
      * lisp/gnus/mm-extern.el (mm-inline-external-body):
      * lisp/gnus/mm-partial.el (mm-inline-partial):
      * lisp/gnus/mml-sec.el (mml-secure-message-sign)
      (mml-secure-message-sign-encrypt, mml-secure-message-encrypt):
      * lisp/gnus/mml2015.el (mml2015-epg-key-image)
      (mml2015-epg-key-image-to-string):
      * lisp/gnus/nndiary.el (nndiary-reminders, nndiary-get-new-mail):
      * lisp/gnus/nnheader.el (nnheader-directory-files-is-safe):
      * lisp/gnus/nnir.el (nnir-search-history)
      (nnir-imap-search-other, nnir-artlist-length)
      (nnir-artlist-article, nnir-artitem-group, nnir-artitem-number)
      (nnir-artitem-rsv, nnir-article-group, nnir-article-number)
      (nnir-article-rsv, nnir-article-ids, nnir-categorize)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-hyrex-additional-switches)
      (gnus-group-make-nnir-group, nnir-run-namazu, nnir-read-parms)
      (nnir-read-parm, nnir-read-server-parm, nnir-search-thread):
      * lisp/gnus/nnmairix.el (nnmairix-default-group)
      (nnmairix-propagate-marks):
      * lisp/gnus/smime.el (smime-keys, smime-crl-check)
      (smime-verify-buffer, smime-noverify-buffer):
      * lisp/gnus/spam-report.el (spam-report-url-ping-mm-url):
      * lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header)
      (spam-spamassassin-spam-status-header, spam-sa-learn-rebuild)
      (spam-classifications, spam-check-stat, spam-spamassassin-score):
      * lisp/help.el (describe-minor-mode-from-symbol):
      * lisp/hippie-exp.el (hippie-expand-ignore-buffers):
      * lisp/htmlfontify.el (hfy-optimizations, hfy-face-resolve-face)
      (hfy-begin-span):
      * lisp/ibuf-ext.el (ibuffer-update-saved-filters-format)
      (ibuffer-saved-filters, ibuffer-old-saved-filters-warning)
      (ibuffer-filtering-qualifiers, ibuffer-repair-saved-filters)
      (eval, ibuffer-unary-operand, file-extension, directory):
      * lisp/image-dired.el (image-dired-cmd-pngcrush-options):
      * lisp/image-mode.el (image-toggle-display):
      * lisp/international/ccl.el (ccl-compile-read-multibyte-character)
      (ccl-compile-write-multibyte-character):
      * lisp/international/kkc.el (kkc-save-init-file):
      * lisp/international/latin1-disp.el (latin1-display):
      * lisp/international/ogonek.el (ogonek-name-encoding-alist)
      (ogonek-information, ogonek-lookup-encoding)
      (ogonek-deprefixify-region):
      * lisp/isearch.el (isearch-filter-predicate)
      (isearch--momentary-message):
      * lisp/jsonrpc.el (jsonrpc-connection-send)
      (jsonrpc-process-connection, jsonrpc-shutdown)
      (jsonrpc--async-request-1):
      * lisp/language/tibet-util.el (tibetan-char-p):
      * lisp/mail/feedmail.el (feedmail-queue-use-send-time-for-date)
      (feedmail-last-chance-hook, feedmail-before-fcc-hook)
      (feedmail-send-it-immediately-wrapper, feedmail-find-eoh):
      * lisp/mail/hashcash.el (hashcash-generate-payment)
      (hashcash-generate-payment-async, hashcash-insert-payment)
      (hashcash-verify-payment):
      * lisp/mail/rmail.el (rmail-movemail-variant-in-use)
      (rmail-get-attr-value):
      * lisp/mail/rmailmm.el (rmail-mime-prefer-html, rmail-mime):
      * lisp/mail/rmailsum.el (rmail-summary-show-message):
      * lisp/mail/supercite.el (sc-raw-mode-toggle):
      * lisp/man.el (Man-start-calling):
      * lisp/mh-e/mh-acros.el (mh-do-at-event-location)
      (mh-iterate-on-messages-in-region, mh-iterate-on-range):
      * lisp/mh-e/mh-alias.el (mh-alias-system-aliases)
      (mh-alias-reload, mh-alias-ali)
      (mh-alias-canonicalize-suggestion, mh-alias-add-alias-to-file)
      (mh-alias-add-alias):
      * lisp/mouse.el (mouse-save-then-kill):
      * lisp/net/browse-url.el (browse-url-default-macosx-browser):
      * lisp/net/eudc.el (eudc-set, eudc-variable-protocol-value)
      (eudc-variable-server-value, eudc-update-variable)
      (eudc-expand-inline):
      * lisp/net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
      * lisp/net/eudcb-ldap.el (eudc-ldap-get-field-list):
      * lisp/net/pop3.el (pop3-list):
      * lisp/net/soap-client.el (soap-namespace-put)
      (soap-xs-parse-sequence, soap-parse-envelope):
      * lisp/net/soap-inspect.el (soap-inspect-xs-complex-type):
      * lisp/nxml/rng-xsd.el (rng-xsd-date-to-days):
      * lisp/org/ob-C.el (org-babel-prep-session:C)
      (org-babel-load-session:C):
      * lisp/org/ob-J.el (org-babel-execute:J):
      * lisp/org/ob-asymptote.el (org-babel-prep-session:asymptote):
      * lisp/org/ob-awk.el (org-babel-execute:awk):
      * lisp/org/ob-core.el (org-babel-process-file-name):
      * lisp/org/ob-ebnf.el (org-babel-execute:ebnf):
      * lisp/org/ob-forth.el (org-babel-execute:forth):
      * lisp/org/ob-fortran.el (org-babel-execute:fortran)
      (org-babel-prep-session:fortran, org-babel-load-session:fortran):
      * lisp/org/ob-groovy.el (org-babel-execute:groovy):
      * lisp/org/ob-io.el (org-babel-execute:io):
      * lisp/org/ob-js.el (org-babel-execute:js):
      * lisp/org/ob-lilypond.el (org-babel-default-header-args:lilypond)
      (org-babel-lilypond-compile-post-tangle)
      (org-babel-lilypond-display-pdf-post-tangle)
      (org-babel-lilypond-tangle)
      (org-babel-lilypond-execute-tangled-ly)
      (org-babel-lilypond-compile-lilyfile)
      (org-babel-lilypond-check-for-compile-error)
      (org-babel-lilypond-process-compile-error)
      (org-babel-lilypond-mark-error-line)
      (org-babel-lilypond-parse-error-line)
      (org-babel-lilypond-attempt-to-open-pdf)
      (org-babel-lilypond-attempt-to-play-midi)
      (org-babel-lilypond-switch-extension)
      (org-babel-lilypond-set-header-args):
      * lisp/org/ob-lua.el (org-babel-prep-session:lua):
      * lisp/org/ob-picolisp.el (org-babel-execute:picolisp):
      * lisp/org/ob-processing.el (org-babel-prep-session:processing):
      * lisp/org/ob-python.el (org-babel-prep-session:python):
      * lisp/org/ob-scheme.el (org-babel-scheme-capture-current-message)
      (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
      * lisp/org/ob-shen.el (org-babel-execute:shen):
      * lisp/org/org-agenda.el (org-agenda-entry-types)
      (org-agenda-move-date-from-past-immediately-to-today)
      (org-agenda-time-grid, org-agenda-sorting-strategy)
      (org-agenda-filter-by-category, org-agenda-forward-block):
      * lisp/org/org-colview.el (org-columns--overlay-text):
      * lisp/org/org-faces.el (org-verbatim, org-cycle-level-faces):
      * lisp/org/org-indent.el (org-indent-set-line-properties):
      * lisp/org/org-macs.el (org-get-limited-outline-regexp):
      * lisp/org/org-mobile.el (org-mobile-files):
      * lisp/org/org.el (org-use-fast-todo-selection)
      (org-extend-today-until, org-use-property-inheritance)
      (org-refresh-effort-properties, org-open-at-point-global)
      (org-track-ordered-property-with-tag, org-shiftright):
      * lisp/org/ox-html.el (org-html-checkbox-type):
      * lisp/org/ox-man.el (org-man-source-highlight)
      (org-man-verse-block):
      * lisp/org/ox-publish.el (org-publish-sitemap-default):
      * lisp/outline.el (outline-head-from-level):
      * lisp/progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-calc-command-indent, dcl-indent-to):
      * lisp/progmodes/flymake.el (flymake-make-diagnostic)
      (flymake--overlays, flymake-diagnostic-functions)
      (flymake-diagnostic-types-alist, flymake--backend-state)
      (flymake-is-running, flymake--collect, flymake-mode):
      * lisp/progmodes/gdb-mi.el (gdb-threads-list, gdb, gdb-non-stop)
      (gdb-buffers, gdb-gud-context-call, gdb-jsonify-buffer):
      * lisp/progmodes/grep.el (grep-error-screen-columns):
      * lisp/progmodes/gud.el (gud-prev-expr):
      * lisp/progmodes/ps-mode.el (ps-mode, ps-mode-target-column)
      (ps-run-goto-error):
      * lisp/progmodes/python.el (python-eldoc-get-doc)
      (python-eldoc-function-timeout-permanent, python-eldoc-function):
      * lisp/shadowfile.el (shadow-make-group):
      * lisp/speedbar.el (speedbar-obj-do-check):
      * lisp/textmodes/flyspell.el (flyspell-auto-correct-previous-hook):
      * lisp/textmodes/reftex-cite.el (reftex-bib-or-thebib):
      * lisp/textmodes/reftex-index.el (reftex-index-goto-entry)
      (reftex-index-kill, reftex-index-undo):
      * lisp/textmodes/reftex-parse.el (reftex-context-substring):
      * lisp/textmodes/reftex.el (reftex-TeX-master-file):
      * lisp/textmodes/rst.el (rst-next-hdr, rst-toc)
      (rst-uncomment-region, rst-font-lock-extend-region-internal):
      * lisp/thumbs.el (thumbs-mode):
      * lisp/vc/ediff-util.el (ediff-restore-diff):
      * lisp/vc/pcvs-defs.el (cvs-cvsroot, cvs-force-dir-tag):
      * lisp/vc/vc-hg.el (vc-hg--ignore-patterns-valid-p):
      * lisp/wid-edit.el (widget-field-value-set, string):
      * lisp/x-dnd.el (x-dnd-version-from-flags)
      (x-dnd-more-than-3-from-flags): Assorted docfixes.
      11432322
  10. 01 Jan, 2019 1 commit
  11. 24 Sep, 2018 1 commit
    • Paul Eggert's avatar
      file-attributes cleanup · 662bee7d
      Paul Eggert authored
      Mostly, this replaces magic-number calls like (nth 4 A) with
      more-informative calls like (file-attribute-access-time A).
      It also fixes some documentation and minor timestamp coding
      issues that I noticed while looking into this.
      * doc/lispref/files.texi (File Attributes):
      * lisp/files.el (file-attribute-size)
      (file-attribute-inode-number, file-attribute-device-number):
      * src/dired.c (Fdirectory_files_and_attributes)
      (Ffile_attributes):
      Mention which attributes must be integers, or nonnegative integers,
      as opposed to merely being numbers.  Remove no-longer-correct
      talk about representing large integers as conses of integers.
      * doc/lispref/files.texi (Magic File Names):
      * doc/misc/gnus.texi (Low-level interface to the spam-stat dictionary):
      * lisp/autorevert.el (auto-revert-find-file-function)
      (auto-revert-tail-mode, auto-revert-handler):
      * lisp/auth-source.el (auth-source-netrc-parse):
      * lisp/cedet/ede/files.el (ede--inode-for-dir):
      * lisp/cedet/semantic/db-file.el (object-write):
      * lisp/cedet/semantic/db-mode.el (semanticdb-kill-hook):
      * lisp/cedet/semantic/db.el (semanticdb-needs-refresh-p)
      (semanticdb-synchronize):
      * lisp/cedet/srecode/table.el (srecode-mode-table-new):
      * lisp/desktop.el (desktop-save, desktop-read):
      * lisp/dired-aux.el (dired-file-set-difference)
      (dired-do-chxxx, dired-do-chmod, dired-copy-file-recursive)
      (dired-create-files):
      * lisp/dired.el (dired-directory-changed-p, dired-readin):
      * lisp/dos-w32.el (w32-direct-print-region-helper):
      * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads)
      (autoload-find-destination, update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-same-file-or-nonexistent):
      * lisp/epg.el (epg--start, epg-wait-for-completion):
      * lisp/eshell/em-ls.el (eshell-ls-filetype-p)
      (eshell-ls-applicable, eshell-ls-size-string)
      (eshell-ls-file, eshell-ls-dir, eshell-ls-files)
      (eshell-ls-entries):
      * lisp/eshell/em-pred.el (eshell-predicate-alist)
      (eshell-pred-file-type, eshell-pred-file-links)
      (eshell-pred-file-size):
      * lisp/eshell/em-unix.el (eshell-shuffle-files, eshell/cat)
      (eshell-du-sum-directory, eshell/du):
      * lisp/eshell/esh-util.el (eshell-read-passwd)
      (eshell-read-hosts):
      * lisp/files.el (remote-file-name-inhibit-cache)
      (find-file-noselect, insert-file-1, dir-locals-find-file)
      (dir-locals-read-from-dir, backup-buffer)
      (file-ownership-preserved-p, copy-directory)
      (read-file-modes):
      * lisp/find-lisp.el (find-lisp-format):
      * lisp/gnus/gnus-agent.el (gnus-agent-unfetch-articles)
      (gnus-agent-read-agentview, gnus-agent-expire-group-1)
      (gnus-agent-request-article, gnus-agent-regenerate-group)
      (gnus-agent-update-files-total-fetched-for)
      (gnus-agent-update-view-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-read-active)
      (gnus-cache-update-file-total-fetched-for)
      (gnus-cache-update-overview-total-fetched-for):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-file-new-p):
      * lisp/gnus/gnus-score.el (gnus-score-score-files):
      * lisp/gnus/gnus-start.el (gnus-save-newsrc-file)
      (gnus-master-read-slave-newsrc):
      * lisp/gnus/gnus-sum.el (gnus-summary-import-article):
      * lisp/gnus/gnus-util.el (gnus-file-newer-than)
      (gnus-cache-file-contents):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming)
      (mail-source-callback, mail-source-movemail):
      * lisp/gnus/nneething.el (nneething-create-mapping)
      (nneething-make-head):
      * lisp/gnus/nnfolder.el (nnfolder-read-folder):
      * lisp/gnus/nnheader.el (nnheader-file-size)
      (nnheader-insert-nov-file):
      * lisp/gnus/nnmail.el (nnmail-activate):
      * lisp/gnus/nnmaildir.el (nnmaildir--group-maxnum)
      (nnmaildir--new-number, nnmaildir--update-nov)
      (nnmaildir--scan, nnmaildir-request-scan)
      (nnmaildir-request-update-info)
      (nnmaildir-request-expire-articles):
      * lisp/gnus/nnmh.el (nnmh-request-list-1)
      (nnmh-request-expire-articles, nnmh-update-gnus-unreads):
      * lisp/gnus/nnml.el (nnml-request-expire-articles):
      * lisp/gnus/spam-stat.el (spam-stat-save, spam-stat-load)
      (spam-stat-process-directory, spam-stat-test-directory):
      * lisp/ido.el (ido-directory-too-big-p)
      (ido-file-name-all-completions):
      * lisp/image-dired.el (image-dired-get-thumbnail-image)
      (image-dired-create-thumb-1):
      * lisp/info.el (info-insert-file-contents):
      * lisp/ls-lisp.el (ls-lisp-insert-directory)
      (ls-lisp-handle-switches, ls-lisp-classify-file)
      (ls-lisp-format):
      * lisp/mail/blessmail.el:
      * lisp/mail/feedmail.el (feedmail-default-date-generator)
      (feedmail-default-message-id-generator):
      * lisp/mail/mailabbrev.el (mail-abbrevs-sync-aliases)
      (mail-abbrevs-setup):
      * lisp/mail/mspools.el (mspools-size-folder):
      * lisp/mail/rmail.el (rmail-insert-inbox-text):
      * lisp/mail/sendmail.el (sendmail-sync-aliases):
      * lisp/mh-e/mh-alias.el (mh-alias-tstamp):
      * lisp/net/ange-ftp.el (ange-ftp-parse-netrc)
      (ange-ftp-write-region, ange-ftp-file-newer-than-file-p)
      (ange-ftp-cf1):
      * lisp/net/eudcb-mab.el (eudc-mab-query-internal):
      * lisp/net/eww.el (eww-read-bookmarks):
      * lisp/net/netrc.el (netrc-parse):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/nxml/rng-loc.el (rng-get-parsed-schema-locating-file):
      * lisp/obsolete/fast-lock.el (fast-lock-save-cache):
      * lisp/obsolete/vc-arch.el (vc-arch-state)
      (vc-arch-diff3-rej-p):
      * lisp/org/ob-eval.el (org-babel--shell-command-on-region):
      * lisp/org/org-attach.el (org-attach-commit):
      * lisp/org/org-macro.el (org-macro-initialize-templates):
      * lisp/org/org.el (org-babel-load-file)
      (org-file-newer-than-p):
      * lisp/org/ox-html.el (org-html-format-spec):
      * lisp/org/ox-publish.el (org-publish-find-date)
      (org-publish-cache-ctime-of-src):
      * lisp/pcmpl-gnu.el (pcomplete/tar):
      * lisp/pcmpl-rpm.el (pcmpl-rpm-packages):
      * lisp/play/cookie1.el (cookie-snarf):
      * lisp/progmodes/cmacexp.el (c-macro-expansion):
      * lisp/ps-bdf.el (bdf-file-mod-time):
      * lisp/server.el (server-ensure-safe-dir):
      * lisp/simple.el (shell-command-on-region):
      * lisp/speedbar.el (speedbar-item-info-file-helper)
      (speedbar-check-obj-this-line):
      * lisp/thumbs.el (thumbs-cleanup-thumbsdir):
      * lisp/time.el (display-time-mail-check-directory)
      (display-time-file-nonempty-p):
      * lisp/url/url-cache.el (url-is-cached):
      * lisp/url/url-file.el (url-file-asynch-callback):
      * lisp/vc/diff-mode.el (diff-delete-if-empty):
      * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries):
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      * lisp/vc/vc-cvs.el (vc-cvs-checkout-model)
      (vc-cvs-state-heuristic, vc-cvs-merge-news)
      (vc-cvs-retrieve-tag, vc-cvs-parse-status, vc-cvs-parse-entry):
      * lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1)
      (vc-hg--ignore-patterns-valid-p)
      (vc-hg--cached-dirstate-search, vc-hg-state-fast):
      * lisp/vc/vc-hooks.el (vc-after-save):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      * lisp/vc/vc-svn.el (vc-svn-merge-news, vc-svn-parse-status):
      * lisp/vc/vc.el (vc-checkout, vc-checkin, vc-revert-file):
      * lisp/xdg.el (xdg-mime-apps):
      Prefer (file-attribute-size A) to (nth 7 A), and similarly
      for other file attributes accessors.
      * doc/lispref/files.texi (File Attributes):
      * doc/lispref/intro.texi (Version Info):
      * doc/lispref/os.texi (Idle Timers):
      * lisp/erc/erc.el (erc-string-to-emacs-time):
      * lisp/files.el (file-attribute-access-time)
      (file-attribute-modification-time)
      (file-attribute-status-change-time):
      * lisp/net/tramp-compat.el:
      (tramp-compat-file-attribute-modification-time)
      (tramp-compat-file-attribute-size):
      * src/buffer.c (syms_of_buffer):
      * src/editfns.c (Fget_internal_run_time):
      * src/fileio.c (Fvisited_file_modtime)
      (Fset_visited_file_modtime):
      * src/keyboard.c (Fcurrent_idle_time):
      * src/process.c (Fprocess_attributes):
      Defer implementation details about timestamp format to the
      section that talks about timestamp format, to make it easier
      to change the documentation later if timestamp formats are
      extended.
      * lisp/gnus/gnus-util.el (gnus-file-newer-than):
      * lisp/speedbar.el (speedbar-check-obj-this-line):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      Prefer time-less-p to doing it by hand.
      * lisp/ls-lisp.el (ls-lisp-format): Inode numbers are no longer conses.
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      Use eql, not eq, to compare integers that might be bignums.
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      Prefer float-time to doing time arithmetic by hand.
      662bee7d
  12. 01 Jan, 2018 1 commit
  13. 13 Dec, 2017 1 commit
    • Glenn Morris's avatar
      Add missing :version tags revealed by cusver-check · 52d2a690
      Glenn Morris authored
      * lisp/comint.el (comint-move-point-for-matching-input):
      * lisp/epa.el (epa-replace-original-text):
      * lisp/image-dired.el (image-dired-cmd-optipng-program)
      (image-dired-cmd-optipng-options):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-storage-method)
      (gnus-cloud-interactive):
      * lisp/net/mailcap.el (mailcap-user-mime-data):
      * lisp/progmodes/cc-vars.el (c-asymmetry-fontification-flag)
      (c-noise-macro-names, c-noise-macro-with-parens-names):
      * lisp/progmodes/flymake.el (flymake-start-on-flymake-mode)
      (flymake-wrap-around):
      * lisp/progmodes/grep.el (grep-use-null-filename-separator):
      * lisp/progmodes/js.el (js-indent-align-list-continuation):
      * lisp/progmodes/perl-mode.el (perl-flymake-command):
      * lisp/progmodes/python.el (python-flymake-command)
      (python-flymake-command-output-pattern, python-flymake-msg-alist):
      * lisp/progmodes/ruby-mode.el (ruby-flymake-use-rubocop-if-available)
      (ruby-rubocop-config):
      * lisp/textmodes/less-css-mode.el (less-css):
      * lisp/textmodes/tex-mode.el (tex-chktex-program)
      (tex-chktex-extra-flags): Add missing :version tags.
      52d2a690
  14. 22 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Avoid unnecessary rounding errors in timestamps · 3aee7be6
      Paul Eggert authored
      Avoid the rounding errors of float-time when it’s easy.  E.g.,
      replace (< (float-time a) (float-time b)) with (time-less-p a b).
      * lisp/desktop.el (desktop-save):
      * lisp/ecomplete.el (ecomplete-add-item):
      * lisp/epg.el (epg-wait-for-completion):
      * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
      * lisp/image-dired.el (image-dired-get-thumbnail-image)
      (image-dired-create-thumb-1):
      * lisp/info.el (info-insert-file-contents):
      * lisp/ls-lisp.el (ls-lisp-format-time):
      * lisp/net/ange-ftp.el (ange-ftp-file-newer-than-file-p)
      (ange-ftp-verify-visited-file-modtime):
      * lisp/net/rcirc.el (rcirc-ctcp-sender-PING):
      * lisp/textmodes/remember.el (remember-store-in-mailbox):
      * lisp/url/url-cookie.el (url-cookie-expired-p):
      Bypass float-time to avoid rounding errors.
      
      * lisp/files.el (dir-locals-find-file):
      3aee7be6
  15. 16 Oct, 2017 1 commit
  16. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  17. 12 Feb, 2017 1 commit
    • Mark Oteiza's avatar
      Nix some useless uses of looking-at, looking-back · 91478f46
      Mark Oteiza authored
      * lisp/allout.el (allout-kill-topic):
      (allout-next-topic-pending-encryption):
      * lisp/bookmark.el (bookmark-kill-line):
      * lisp/cus-edit.el (custom-save-variables, custom-save-faces):
      * lisp/cus-theme.el (custom-theme-write-variables):
      (custom-theme-write-faces):
      * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-loop):
      (checkdoc-interactive-ispell-loop):
      (checkdoc-message-interactive-ispell-loop, checkdoc-this-string-valid):
      (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/elint.el (elint-get-top-forms):
      * lisp/emulation/viper-cmd.el (viper-backward-indent):
      * lisp/image-dired.el (image-dired-delete-char):
      * lisp/simple.el (kill-visual-line): Replace instances of looking-at,
      looking-back with char comparisons using following-char, preceding-char.
      91478f46
  18. 02 Feb, 2017 1 commit
    • Mark Oteiza's avatar
      Prevent creating thumbnails of all gif frames · 910e63de
      Mark Oteiza authored
      With the previous defaults, doing image-dired on a directory with an
      animated foo.gif would cause creation of foo.thumb-N.gif for each of
      N frames in foo.gif.  By default image-dired looks for foo.thumb.gif, so
      there additionally is no usable thumbnail after all the needless effort.
      image-dired never handled animation, regardless.
      * lisp/image-dired.el: Mention limitation.
      (image-dired-cmd-create-thumbnail-options):
      (image-dired-cmd-create-temp-image-options):
      (image-dired-cmd-create-standard-thumbnail-options): Append [0] to
      filename to indicate only converting the 0th frame.
      (image-dired-display-image-mode): Don't show a cursor.
      910e63de
  19. 01 Jan, 2017 1 commit
  20. 22 Dec, 2016 1 commit
  21. 20 Dec, 2016 3 commits
    • Mark Oteiza's avatar
      ; Revert "Recognize graphicsmagick in image-dired" · 221d3a97
      Mark Oteiza authored
      This reverts commit 5c266405.
      There are too many annoying differences between GM and IM to make this
      default behavior.
      221d3a97
    • Mark Oteiza's avatar
      Recognize graphicsmagick in image-dired · 5c266405
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-cmd-create-thumbnail-program):
      (image-dired-cmd-create-thumbnail-options):
      (image-dired-cmd-create-temp-image-program):
      (image-dired-cmd-create-temp-image-options):
      (image-dired-cmd-create-standard-thumbnail-options):
      (image-dired-cmd-rotate-thumbnail-program):
      (image-dired-cmd-rotate-thumbnail-options): Account for existence of
      gm(1) executable.
      5c266405
    • Mark Oteiza's avatar
      Implement asynchronous thumbnail generation in image-dired · 36b9973d
      Mark Oteiza authored
      Additionally, all FOO-options defcustoms that were in fact shell command
      strings have been converted to argument lists.  Another method for
      shrinking PNG thumbs with optipng(1) has been added.
      * lisp/image-dired.el: Remove TODO item in commentary.
      (image-dired-cmd-create-thumbnail-options):
      (image-dired-cmd-create-temp-image-options):
      (image-dired-cmd-rotate-thumbnail-options):
      (image-dired-cmd-rotate-original-options):
      (image-dired-cmd-write-exif-data-options):
      (image-dired-cmd-read-exif-data-options): Convert to argument lists.
      (image-dired-cmd-pngnq-program, image-dired-cmd-pngcrush-program):
      Change string type to file.
      (image-dired-cmd-create-standard-thumbnail-command): Remove.
      (image-dired-cmd-pngnq-options):
      (image-dired-cmd-create-standard-thumbnail-options):
      (image-dired-cmd-optipng-program, image-dired-cmd-optipng-options):
      New defcustoms.
      (image-dired-queue, image-dired-queue-active-jobs):
      (image-dired-queue-active-limit): New variables.
      (image-dired-pngnq-thumb, image-dired-pngcrush-thumb):
      (image-dired-optipng-thumb): New functions.
      (image-dired-create-thumb-1): Renamed from image-dired-create-thumb.
      Use start-process instead of call-process.  Set file modes.  Trigger
      PNG file optimization in process sentinel.
      (image-dired-thumb-queue-run, image-dired-create-thumb): New functions.
      (image-dired-display-thumbs):
      (image-dired-create-thumbs): Don't expect call-process return value.
      (image-dired-display-image, image-dired-rotate-thumbnail): Use
      start-process instead of call-process.
      (image-dired-rotate-original, image-dired-set-exif-data):
      (image-dired-get-exif-data): Adapt to arguments being an arg list.
      36b9973d
  22. 18 Dec, 2016 2 commits
  23. 16 Dec, 2016 4 commits
    • Mark Oteiza's avatar
      Be more selective clearing the image cache · 6bf83218
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-create-thumbs):
      (image-dired-rotate-thumbnail, image-dired-refresh-thumb): Only clear
      the current thumbnail file from the image cache.
      6bf83218
    • Mark Oteiza's avatar
      More image-dired refactoring · f8a47b07
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-mode):
      (image-dired-display-image-mode): Add :group 'image-dired so
      customize-mode works.
      (image-dired-display-image): Rearrange.
      (image-dired-copy-with-exif-file-name): This map is for side effect.
      (image-dired-dired-edit-comment-and-tags): Just use #'identity.
      f8a47b07
    • Mark Oteiza's avatar
      9886239b
    • Mark Oteiza's avatar
      Teach image-dired to also generate large thumbs · 7ec55a18
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-storage): Add
      standard-large option.
      (image-dired-thumb-size): Add condition for standard-large storage.
      (image-dired-insert-thumbnail): Check for new option.  Change
      thumbnail path conditionally.
      (image-dired-thumb-size): New function.
      (image-dired-create-thumb, image-dired-line-up-dynamic): Use it.
      7ec55a18
  24. 15 Dec, 2016 4 commits
    • Mark Oteiza's avatar
      Don't abuse princ and spam messages · b22cb969
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-format-properties-string): Nix princ.
      (image-dired-display-thumb-properties):
      (image-dired-dired-display-properties): Nix princ.  Bind
      message-log-max to nil.
      b22cb969
    • Mark Oteiza's avatar
      Inherit things from special-mode and image-mode · 214acb1e
      Mark Oteiza authored
      * lisp/image-dired.el: Require image-mode library.
      (image-dired-thumbnail-mode-map): Remove superfluous binding.
      (image-dired-display-image-mode-map): Remove superfluous binding.
      Add movement remaps from image-mode-map.
      (image-dired-thumbnail-mode): Derive from special-mode.
      (image-dired-display-image-mode): Derive from special-mode. Call
      image-mode-setup-winprops.
      214acb1e
    • Mark Oteiza's avatar
      Fix some image-dired customization types · d79ff2a4
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired): Add info link to defgroup.
      (image-dired-dir, image-dired-gallery-dir): Set type to directory.
      (image-dired-db-file, image-dired-temp-image-file):
      (image-dired-cmd-create-thumbnail-program):
      (image-dired-cmd-create-temp-image-program):
      (image-dired-cmd-rotate-thumbnail-program):
      (image-dired-cmd-rotate-original-program):
      (image-dired-temp-rotate-image-file):
      (image-dired-cmd-write-exif-data-program):
      (image-dired-cmd-read-exif-data-program): Set type to file.
      (image-dired-create-thumb, image-dired-line-up-dynamic): Check storage
      type at runtime, since setting image-dired-thumb-size does not
      automatically set image-dired-thumb-width and image-dired-thumb-height.
      d79ff2a4
    • Mark Oteiza's avatar
  25. 14 Dec, 2016 4 commits
    • Mark Oteiza's avatar
      Recognize pngnq or pngnq-s9 · 53e8d7fb
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-cmd-pngnq-program): Also consider
      pngnq-s9 as a possible executable.
      53e8d7fb
    • Mark Oteiza's avatar
      Update standard image-dired thumbnail location · 66ccc659
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumb-name): Conform to the latest
      standard: consider XDG_CACHE_HOME, falling back on ~/.cache.
      66ccc659
    • Mark Oteiza's avatar
      Reset window scroll when displaying an image · 44a77d34
      Mark Oteiza authored
      When viewing a large image full size and scrolling, for instance, to
      the lower right corner, then selecting a much smaller image in the
      thumbnail buffer, the window stays scrolled so the new image is out of
      the window.  One must scroll back to the "origin" to view the new
      displayed image, or just kill the image-dired-display-image buffer and
      try again.  This fixes the issue.
      * lisp/image-dired.el (image-dired-display-window-width):
      (image-dired-display-window-height): Operate on a window as argument.
      (image-dired-display-image): Bind (image-dired-display-window) and use
      it. Set window vscroll and hscroll to zero when refreshing the
      buffer's contents.
      44a77d34
    • Mark Oteiza's avatar
      More image-dired polish · 51b2669a
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-file-name-at-point): New function.
      (image-dired-thumbnail-mode, image-dired-display-image-mode): Disable
      undo list. Add image-dired-file-name-at-point to
      file-name-at-point-functions to facilitate find-file and friends.
      (image-dired-thumbnail-display-external):
      (image-dired-dired-display-external): Use start-process instead, to
      avoid needlessly blocking and using a shell.
      51b2669a
  26. 13 Dec, 2016 3 commits
    • Mark Oteiza's avatar
      More small fixes for image-dired · aacb20c0
      Mark Oteiza authored
      * lisp/image-dired.el: Fix commentary to refer to correct Emacs manual
      node.
      (image-dired--with-db-file): Add declare forms.
      (image-dired-hidden-p): Rewrite with cl-loop.  It's not necessary to
      run through the whole list.
      aacb20c0
    • Mark Oteiza's avatar
      Remove image-dired-kill-buffer-and-window · 86762eb1
      Mark Oteiza authored
      This breaks window layout, especially when quitting a
      image-dired-display-image-mode buffer.
      * lisp/image-dired.el (image-dired-thumbnail-mode-map):
      (image-dired-display-image-mode-map): Replace in keymap and menu items
      bindings to image-dired-kill-buffer-and-window with quit-window.
      (image-dired-kill-buffer-and-window): Remove.
      86762eb1
    • Mark Oteiza's avatar
      Replace image-dired-setup-dired-keybindings with a minor mode · bed03738
      Mark Oteiza authored
      * lisp/image-dired.el (image-dired-thumbnail-mode): Fix docstring to
      remove mention of nonexistent image-dired-dired and to refer to the
      new minor mode.
      (image-dired-minor-mode-map): New keymap assimilated from
      image-dired-setup-dired-keybindings.  In the future, the keymap parent
      should be removed, and perhaps also the duplicate bindings that
      already exist in dired-mode-map.
      (image-dired-setup-dired-keybindings): Remove.  Replace with an
      obsolete function alias.
      (image-dired-minor-mode): New minor mode, assuming the role of
      image-dired-setup-dired-keybindings.
      bed03738