• Juanma Barranquero's avatar
    lisp/*.el: Fix typos; use string-match-p, looking-at-p, setq-local, defvar-local. · cedf5c9d
    Juanma Barranquero authored
    * lisp/allout-widgets.el (allout-widgets-mode-off)
      (allout-widgets-mode-on, allout-widgets-pre-command-business)
      (allout-widgets-post-command-business)
      (allout-widgets-after-copy-or-kill-function)
      (allout-widgets-after-undo-function, allout-test-range-overlaps)
      (allout-decorate-item-and-context)
      (allout-graphics-modification-handler): Fix typos in docstrings.
      (allout-get-or-create-parent-widget): Use `looking-at-p'.
    
    * lisp/cmuscheme.el (scheme-start-file): Doc fix.
      (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
      (scheme-input-filter): Use `string-match-p'.
    
    * lisp/composite.el (compose-gstring-for-terminal): Fix typo in docstring.
    
    * lisp/dired-x.el: Use Dired consistently in docstrings.
    
    * lisp/dired.el: Use Dired consistently in docstrings.
      (dired-readin, dired-mode): Use `setq-local'.
      (dired-switches-alist): Make defvar-local.
      (dired-buffers-for-dir): Use `zerop'.
      (dired-safe-switches-p, dired-switches-escape-p)
      (dired-insert-old-subdirs, dired-move-to-end-of-filename)
      (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
      (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
      (dired-goto-next-nontrivial-file): Use `string-match-p'.
      (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
      (dired-toggle-marks, dired-mark-files-containing-regexp)
      (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
      (dired-flag-auto-save-files, dired-flag-backup-files):
      Use `looking-at-p'.
      (dired-mark-files-regexp, dired-build-subdir-alist):
      Use `string-match-p', `looking-at-p'.
    
    * lisp/dos-w32.el (untranslated-canonical-name, untranslated-file-p)
      (direct-print-region-helper): Use `string-match-p'.
    cedf5c9d
ChangeLog 148 KB