1. 08 May, 2012 1 commit
  2. 07 May, 2012 1 commit
  3. 06 May, 2012 1 commit
  4. 05 May, 2012 1 commit
  5. 04 May, 2012 2 commits
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
    • Stefan Monnier's avatar
  6. 26 Apr, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/vc/vc-mtn.el: · 0d42eb3e
      Stefan Monnier authored
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-dir.el:
      * lisp/vc/vc-cvs.el:
      * lisp/vc/vc-bzr.el:
      * lisp/vc/vc-arch.el:
      * lisp/vc/vc.el: Replace lexical-let by lexical-binding.
      * lisp/minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
      * lisp/emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
      * lisp/emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
      0d42eb3e
  7. 25 Apr, 2012 1 commit
  8. 18 Apr, 2012 1 commit
  9. 10 Apr, 2012 1 commit
  10. 09 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Remove ucs-set-table-for-input dead code · fd06db5d
      Glenn Morris authored
      This function was removed with ucs-tables.el in 2008.
      
      * lisp/international/mule-cmds.el (set-default-coding-systems):
      * lisp/files.el (normal-mode):
      Remove guarded calls to ucs-set-table-for-input. 
      
      * src/buffer.c (Qucs_set_table_for_input): Remove.
      (Fget_buffer_create): Don't call Qucs_set_table_for_input.
      (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.
      
      Fixes: debbugs:9821
      fd06db5d
  11. 01 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Rename file-subdir-of-p to file-in-directory-p. · 42ee526b
      Chong Yidong authored
      * lisp/files.el (file-in-directory-p): Rename from file-subdir-of-p.
      Handle root directory properly.
      (copy-directory): Caller changed.
      
      * lisp/dired-aux.el (dired-copy-file-recursive, dired-create-files):
      * lisp/net/tramp.el (tramp-file-name-for-operation): Callers changed.
      
      * doc/lispref/files.texi (Kinds of Files): file-subdir-of-p renamed to
      file-in-directory-p.
      42ee526b
  12. 30 Mar, 2012 1 commit
    • Thierry Volpiatto's avatar
      Fix copying of symlinks. · 40311efc
      Thierry Volpiatto authored
      * dired-aux.el (dired-copy-file-recursive, dired-create-files):
      Check if file is a symlink (Bug#10489).
      
      * files.el (copy-directory): Likewise.
      40311efc
  13. 26 Mar, 2012 1 commit
    • Glenn Morris's avatar
      More small edits for lispref/os.texi · 02243d9d
      Glenn Morris authored
      * doc/lispref/os.texi (Killing Emacs): Copyedits.
      (Suspending Emacs): Copyedits.  Mention not very relevant with GUIs.
      Shorten the example, use more standard shell prompts.
      
      * lisp/files.el (save-buffers-kill-emacs): Doc fix.
      02243d9d
  14. 21 Mar, 2012 1 commit
  15. 09 Mar, 2012 1 commit
    • Glenn Morris's avatar
      Another dir-locals iteration · f7fd3d79
      Glenn Morris authored
      * lisp/files.el (dir-locals-find-file):
      Don't check result is regular, readable.
      (dir-locals-read-from-file): Demote errors.
      f7fd3d79
  16. 08 Mar, 2012 1 commit
  17. 06 Mar, 2012 3 commits
  18. 01 Mar, 2012 1 commit
  19. 28 Feb, 2012 2 commits
  20. 26 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Code and doc fixes for file-subdir-of-p and files-equal-p. · 9a4888c0
      Chong Yidong authored
      * lisp/files.el (files-equal-p): Doc fix.
      (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
      and quit the loop once a mismatch is found.
      
      * doc/lispref/files.texi (Kinds of Files): Improve documentation of
      files-equal-p and file-subdir-of-p.
      9a4888c0
  21. 24 Feb, 2012 2 commits
  22. 10 Feb, 2012 1 commit
  23. 09 Feb, 2012 1 commit
  24. 04 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Document revert-buffer-in-progress-p · 8f05da42
      Glenn Morris authored
      * doc/lispref/backups.texi (Reverting): Mention revert-buffer-in-progress-p.
      * lisp/files.el (revert-buffer): Doc fix (mention revert-buffer-in-progress-p).
      * etc/NEWS: Related markup.
      8f05da42
  25. 23 Jan, 2012 1 commit
  26. 21 Jan, 2012 1 commit
    • Glenn Morris's avatar
      File-local variable fixes. · 7b447e9b
      Glenn Morris authored
      * lisp/files.el (local-enable-local-variables): Doc fix.
      (inhibit-local-variables-regexps): Rename from inhibit-first-line-modes-regexps.
      Keep old name as obsolete alias.  Doc fix.
      Add some extensions from auto-coding-alist.
      (inhibit-local-variables-suffixes):
      Rename from inhibit-first-line-modes-suffixes.  Doc fix.
      (inhibit-local-variables-p): New function, extracted from set-auto-mode-1.
      (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
      (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
      (hack-local-variables): Doc fix.
      Make the mode-only case respect enable-local-variables and friends.
      Respect inhibit-local-variables-regexps for file-locals,
      but not for directory-locals.
      (set-visited-file-name): Take account of inhibit-local-variables-regexps.
      Whether it applies may change as the file name is changed.
      * lisp/jka-cmpr-hook.el (jka-compr-install):
      * lisp/jka-compr.el (jka-compr-uninstall):
      Update for inhibit-first-line-modes-suffixes name change.
      
      * etc/NEWS: Mention this change.
      
      Fixes: debbugs:10506
      7b447e9b
  27. 18 Jan, 2012 1 commit
    • Glenn Morris's avatar
      files.el doc fixes. · f3860cea
      Glenn Morris authored
      * lisp/files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
      (set-auto-mode): Doc fixes.
      f3860cea
  28. 11 Jan, 2012 1 commit
  29. 06 Jan, 2012 1 commit
    • Chong Yidong's avatar
      More customization-related documentation updates. · 89bd9ccd
      Chong Yidong authored
      * doc/emacs/custom.texi (Specifying File Variables): The mode: keyword
      doesn't have to be first anymore.  Add example of specifying minor
      modes.
      (Directory Variables): Simplify example.  Mention application to
      non-file buffers.
      (Disabling): Use "initialization file" terminology.
      (Init Examples): Fix hook example.
      
      * doc/lispref/variables.texi (Directory Local Variables): Document
      hack-dir-local-variables-non-file-buffer.
      
      * lisp/files.el (hack-dir-local-variables-non-file-buffer): Add doc.
      (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
      functions, along with 1 and -1.
      89bd9ccd
  30. 05 Jan, 2012 1 commit
  31. 29 Dec, 2011 1 commit
  32. 21 Dec, 2011 1 commit
  33. 04 Dec, 2011 1 commit
  34. 28 Nov, 2011 1 commit
  35. 20 Nov, 2011 1 commit