1. 06 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · d5081c1e
      Paul Eggert authored
      * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
      * emacs-lisp/debug.el (cancel-debug-on-entry):
      * epg.el (epg-error-to-string):
      * files.el (recover-file):
      * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
      * mail/emacsbug.el (report-emacs-bug-hook):
      * mail/sendmail.el (mail-recover):
      * ses.el (ses-yank-resize):
      * term/ns-win.el (ns-print-buffer):
      Spelling fixes in diagnostics, mostly for "canceled" with one L.
      * epg.el (epg-key-capability-alist): Rename from misspelled version.
      All uses changed.
      * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
      d5081c1e
  2. 01 Jan, 2014 1 commit
  3. 10 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Remove lexical-binding warnings; additional small cleanups. · 45fdb482
      Juanma Barranquero authored
      * calculator.el (calculator): Mark unused argument.
        (calculator-paste, calculator-quit, calculator-integer-p):
        Use ignore-errors.
        (calculator-string-to-number, calculator-decimal, calculator-exp)
        (calculator-op-or-exp): Use string-match-p.
      
      * dired-aux.el (dired-compress): Use ignore-errors.
        (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
        (dired-do-async-shell-command, dired-do-shell-command)
        (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
        (dired-insert-subdir-validate): Use string-match-p.
        (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
        (dired-add-entry): Use string-match-p, looking-at-p.
        (dired-insert-subdir-newpos): Remove unused local variable.
      
      * dired.el (dired-buffer-more-recently-used-p): Declare.
        (dired-insert-set-properties, dired-insert-old-subdirs):
        Use ignore-errors.
      
      * filenotify.el (file-notify-callback): Remove unused local variable.
      
      * filesets.el (filesets-error): Mark unused argument.
        (filesets-which-command-p, filesets-filter-dir-names)
        (filesets-directory-files, filesets-get-external-viewer)
        (filesets-ingroup-get-data): Use string-match-p.
      
      * find-file.el (ff-other-file-name, ff-other-file-name)
        (ff-find-the-other-file, ff-cc-hh-converter):
        Remove unused local variables.
        (ff-get-file-name): Use string-match-p.
        (ff-all-dirs-under): Use ignore-errors.
      
      * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
        (follow-select-if-visible): Remove unused local variable.
      
      * forms.el (read-file-filter): Move declaration.
        (forms--make-format, forms--make-parser, forms-insert-record):
        Quote function with #'.
        (forms--update): Use string-match-p.  Quote function with #'.
      
      * help-mode.el (help-dir-local-var-def): Mark unused argument.
        (help-make-xrefs): Use looking-at-p.
        (help-xref-on-pp): Use looking-at-p, ignore-errors.
      
      * ibuffer.el (ibuffer-ext-visible-p): Declare.
        (ibuffer-confirm-operation-on): Use string-match-p.
      
      * msb.el (msb-item-handler, msb-dired-item-handler):
        Mark unused arguments.
      
      * ses.el (ses-decode-cell-symbol)
        (ses-kill-override): Remove unused local variable.
        (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
        (ses-load): Use ignore-errors, looking-at-p.
        (ses-jump-safe): Use ignore-errors.
        (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
      
      * tabify.el (untabify, tabify): Mark unused arguments.
      
        * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
        Mark unused argument.
        (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
        (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
      45fdb482
  4. 12 Jul, 2013 1 commit
    • Glenn Morris's avatar
      Remove some more reimplementations of cl-lib functions · 539a920c
      Glenn Morris authored
      * lisp/doc-view.el: Require cl-lib at runtime too.
      (doc-view-remove-if): Remove.
      (doc-view-search-next-match, doc-view-search-previous-match):
      Use cl-remove-if.
      
      * lisp/edmacro.el: Require cl-lib at runtime too.
      (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
      (edmacro-mismatch, edmacro-subseq): Remove.
      
      * lisp/filesets.el: Comments.
      
      * lisp/shadowfile.el: Require cl-lib.
      (shadow-remove-if): Remove.
      (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
      Use cl-remove-if.
      
      * lisp/wid-edit.el: Require cl-lib.
      (widget-choose): Use cl-remove-if.
      (widget-remove-if): Remove.
      
      * lisp/progmodes/ebrowse.el: Require cl-lib at runtime too.
      (ebrowse-delete-if-not): Remove.
      (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
      (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
      Use cl-delete-if-not.
      539a920c
  5. 05 Mar, 2013 1 commit
  6. 01 Jan, 2013 1 commit
  7. 23 Oct, 2012 1 commit
    • Stefan Monnier's avatar
      Cleanup uses of "-hooks". · d1069532
      Stefan Monnier authored
      * doc/emacs/custom.texi (Hooks):
      * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
      
      * lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (nndiary-request-accept-article-functions):
      * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
      * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
      * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
      * lisp/cedet/semantic/edit.el (semantic-change-functions)
      (semantic-edits-new-change-functions)
      (semantic-edits-delete-change-functions)
      (semantic-edits-reparse-change-functions):
      * lisp/htmlfontify.el (hfy-post-html-hook):
      * lisp/filesets.el (filesets-cache-fill-content-hook):
      * lisp/arc-mode.el (archive-extract-hook):
      * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
      * lisp/net/rcirc.el (rcirc-sentinel-functions)
      (rcirc-receive-message-functions, rcirc-activity-functions)
      (rcirc-print-functions):
      * lisp/net/dbus.el (dbus-event-error-functions):
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
      (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      * lisp/mail/sendmail.el (mail-yank-hooks):
      * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
      d1069532
  8. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  9. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  10. 28 Feb, 2012 1 commit
  11. 11 Jan, 2012 1 commit
  12. 05 Jan, 2012 1 commit
  13. 15 Dec, 2011 1 commit
  14. 27 Nov, 2011 1 commit
  15. 26 Jan, 2011 1 commit
  16. 25 Jan, 2011 1 commit
  17. 15 Jan, 2011 1 commit
  18. 02 Jan, 2011 1 commit
  19. 24 Sep, 2010 1 commit
  20. 13 Jan, 2010 1 commit
  21. 13 Nov, 2009 1 commit
    • Stefan Monnier's avatar
      * x-dnd.el (x-dnd-maybe-call-test-function): · 7fdbcd83
      Stefan Monnier authored
      * window.el (split-window-vertically):
      * whitespace.el (whitespace-help-on):
      * vc-rcs.el (vc-rcs-consult-headers):
      * userlock.el (ask-user-about-lock-help)
      (ask-user-about-supersession-help):
      * type-break.el (type-break-force-mode-line-update):
      * time-stamp.el (time-stamp-conv-warn):
      * terminal.el (te-set-output-log, te-more-break, te-filter)
      (te-sentinel,terminal-emulator):
      * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
      (term-write-input-ring, term-check-source, term-start-output-log):
      (term-display-buffer-line, term-dynamic-list-completions):
      (term-ansi-make-term, serial-term):
      * subr.el (selective-display):
      * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
      (strokes-encode-buffer, strokes-xpm-for-compressed-string):
      * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
      (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
      (speedbar-remove-localized-speedbar-support)
      (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
      (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
      (speedbar-buffers-line-directory):
      * simple.el (shell-command-on-region, append-to-buffer)
      (prepend-to-buffer):
      * shadowfile.el (shadow-save-todo-file):
      * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
      (scroll-bar-maybe-set-window-start):
      * sb-image.el (speedbar-image-dump):
      * saveplace.el (save-place-alist-to-file, save-places-to-alist)
      (load-save-place-alist-from-file):
      * ps-samp.el (ps-print-message-from-summary):
      * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
      (ps-background-image, ps-begin-job, ps-do-despool):
      * ps-bdf.el (bdf-find-file, bdf-read-font-info):
      * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
      (pr-ps-message-from-summary, pr-lpr-message-from-summary):
      (pr-call-process, pr-file-list, pr-interface-save):
      * novice.el (disabled-command-function)
      (enable-command, disable-command):
      * mouse.el (mouse-buffer-menu-alist):
      * mouse-copy.el (mouse-kill-preserving-secondary):
      * macros.el (kbd-macro-query):
      * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
      * informat.el (batch-info-validate):
      * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
      * hippie-exp.el (try-expand-dabbrev-visible):
      * help-mode.el (help-make-xrefs):
      * help-fns.el (describe-variable):
      * generic-x.el (bat-generic-mode-run-as-comint):
      * finder.el (finder-mouse-select):
      * find-dired.el (find-dired-sentinel):
      * filesets.el (filesets-file-close):
      * files.el (list-directory):
      * faces.el (list-faces-display, describe-face):
      * facemenu.el (list-colors-display):
      * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
      * epg.el (epg--process-filter, epg-cancel):
      * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
      (epa--read-signature-type):
      * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
      (emerge-file-names):
      * ehelp.el (electric-helpify):
      * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
      * ediff-vers.el (rcs-ediff-view-revision):
      * ediff-util.el (ediff-setup):
      * ediff-mult.el (ediff-append-custom-diff):
      * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
      (ediff-wordify):
      * echistory.el (Electric-command-history-redo-expression):
      * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
      * disp-table.el (describe-display-table):
      * dired.el (dired-find-buffer-nocreate):
      * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
      * dabbrev.el (dabbrev--same-major-mode-p):
      * chistory.el (list-command-history):
      * apropos.el (apropos-documentation):
      * allout.el (allout-obtain-passphrase):
      (allout-copy-exposed-to-buffer):
      (allout-verify-passphrase): Use with-current-buffer.
      7fdbcd83
  22. 13 Sep, 2009 1 commit
  23. 05 Jan, 2009 1 commit
  24. 25 Oct, 2008 1 commit
    • Juanma Barranquero's avatar
      * completion.el (add-completion-to-head, add-completion): Doc fixes. · ea6c930a
      Juanma Barranquero authored
        (completion-search-next, add-completions-from-file):
        Fix typos in docstrings.
      
      * filesets.el (filesets-menu-ensure-use-cached)
        (filesets-ingroup-patterns, filesets-filetype-property):
      * tutorial.el (get-lang-string):
      * play/gamegrid.el (gamegrid-score-file-length, gamegrid-add-score):
        Fix typos in docstrings.
      
      * image-dired.el (image-dired-dired-after-readin-hook): Doc fix.
        (image-dired-line-up-method, image-dired-thumb-size)
        (image-dired-cmd-write-exif-data-options, image-dired-write-tags)
        (image-dired-track-original-file, image-dired-track-thumbnail)
        (image-dired-dired-next-line, image-dired-dired-previous-line)
        (image-dired-write-comments): Reflow docstrings.
        (image-dired-show-all-from-dir-max-files)
        (image-dired-format-properties-string, image-dired-create-thumbs)
        (image-dired-mark-tagged-files, image-dired-gallery-generate):
        Fix typos in docstrings.
      
      * savehist.el (savehist-save-minibuffer-history, savehist-file)
        (savehist-additional-variables, savehist-ignored-variables)
        (savehist-file-modes, savehist-autosave-interval):
      * startup.el (inhibit-startup-echo-area-message, inhibit-default-init)
        (inhibit-startup-buffer-menu, mail-host-address, user-mail-address)
        (fancy-splash-image):
      * thumbs.el (thumbs-thumbsdir, thumbs-geometry, thumbs-relief)
        (thumbs-conversion-program, thumbs-margin):
        Remove spurious * in docstrings.
      ea6c930a
  25. 24 Oct, 2008 1 commit
    • Juanma Barranquero's avatar
      New function `locate-user-emacs-file'. · d6c180c4
      Juanma Barranquero authored
      * subr.el (locate-user-emacs-file): New function.
        (user-emacs-directory): Mention it in docstring.
      
      * completion.el (save-completions-file-name):
      * filesets.el (filesets-menu-cache-file):
      * image-dired.el (image-dired-dir, image-dired-db-file)
        (image-dired-temp-image-file, image-dired-gallery-dir)
        (image-dired-temp-rotate-image-file):
      * savehist.el (savehist-file):
      * server.el (server-auth-dir):
      * startup.el (auto-save-list-file-prefix):
      * thumbs.el (thumbs-thumbsdir):
      * tutorial.el (tutorial--saved-dir):
      * play/gamegrid.el (gamegrid-user-score-file-directory): Use it.
      
      * url.el (url-configuration-directory): Use `locate-user-emacs-file'.
      
      * NEWS: New function `locate-user-emacs-file'.
      d6c180c4
  26. 23 Oct, 2008 2 commits
  27. 01 Oct, 2008 1 commit
  28. 31 Jul, 2008 1 commit
  29. 24 Jul, 2008 1 commit
    • Juri Linkov's avatar
      (filesets-commands): Add commands for "Isearch" and · 67c18958
      Juri Linkov authored
      "Isearch (regexp)".  Replace `query-replace' and `query-replace-regexp'
      with `perform-replace' using `filesets-cmd-query-replace-regexp-getargs'.
      (filesets-run-cmd): Call `fn' only once if it is `multi-isearch-files'
      or `multi-isearch-files-regexp'.
      (filesets-cmd-query-replace-getargs): Call standard function
      `query-replace-read-args' to read `query-replace' arguments.
      Add `multi-query-replace-map'.
      (filesets-cmd-query-replace-regexp-getargs)
      (filesets-cmd-isearch-getargs): New functions.
      67c18958
  30. 27 Jun, 2008 1 commit
  31. 06 May, 2008 1 commit
  32. 07 Jan, 2008 1 commit
  33. 15 Oct, 2007 2 commits
    • Juanma Barranquero's avatar
      (filesets-alist-get): Use `let' rather than `let*'. · ed511704
      Juanma Barranquero authored
      (filesets-ormap, filesets-sort-case-sensitive-flag, filesets-remake-shortcut,
      filesets-ingroup-collect-files): Fix typos in docstrings.
      (filesets-data-get-name, filesets-data-get-data, filesets-data-set,
      filesets-cmd-query-replace-getargs, filesets-ingroup-collect,
      filesets-find-or-display-file): Doc fixes.
      ed511704
    • Juanma Barranquero's avatar
      (filesets-alist-get): Use `let' rather than `let*'. · 095aa9cd
      Juanma Barranquero authored
      (filesets-ormap, filesets-sort-case-sensitive-flag, filesets-remake-shortcut,
      filesets-ingroup-collect-files): Fix typos in docstrings.
      (filesets-conditional-sort, filesets-find-or-display-file,
      filesets-data-get-name, filesets-data-get-data, filesets-data-set,
      filesets-cmd-query-replace-getargs, filesets-ingroup-collect): Doc fixes.
      095aa9cd
  34. 19 Sep, 2007 1 commit
    • Stefan Monnier's avatar
      Remove spurious * in docstrings. · 91cc505c
      Stefan Monnier authored
      (filesets-running-xemacs): Remove.  Use (featurep 'xemacs) instead.
      (filesets-conditional-sort): Remove unused arg `simply-do-it'.
      (filesets-ingroup-collect): Remove unused arg `depth'.
      (filesets-update): Remove unused arg `version'.
      91cc505c
  35. 25 Jul, 2007 1 commit
  36. 13 Jun, 2007 1 commit
  37. 21 Jan, 2007 1 commit
  38. 14 Oct, 2006 1 commit