1. 26 May, 2012 1 commit
    • Stefan Monnier's avatar
      Use `declare' in `lambda' and mis minor changes. · a179e3f7
      Stefan Monnier authored
      * lisp/subr.el (lambda): Use declare.
      * lisp/emacs-lisp/lisp-mode.el (lambda):
      * lisp/emacs-lisp/edebug.el (lambda): Move properties to its definition.
      * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unhook-expire-days):
      * lisp/gnus/gnus-demon.el (gnus-demon-init): Don't bother with type-of.
      a179e3f7
  2. 08 May, 2012 1 commit
  3. 05 May, 2012 1 commit
  4. 04 May, 2012 1 commit
    • 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
  5. 02 May, 2012 1 commit
  6. 27 Apr, 2012 1 commit
  7. 23 Apr, 2012 1 commit
  8. 19 Apr, 2012 2 commits
    • Juanma Barranquero's avatar
      lisp/*: Add declarations, remove unused bindings, mark unused args. · 4d6769e1
      Juanma Barranquero authored
      * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg.
        (mouse-avoidance-nudge-mouse): Remove unused binding.
      
      * lisp/imenu.el (imenu-default-goto-function): Mark unused args.
        (imenu-progress-message): Remove obsolete macro; all callers changed.
      
      * lisp/mouse.el (mouse-menu-major-mode-map):
      * lisp/emacs-lisp/authors.el (authors-scan-change-log)
        (authors-add-to-author-list):
      * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance):
      * lisp/emacs-lisp/smie.el (smie-auto-fill):
      * lisp/mail/sendmail.el (mail-bury):
      * lisp/mail/unrmail.el (unrmail):
      * lisp/net/tls.el (open-tls-stream):
      * lisp/textmodes/picture.el (picture-mouse-set-point):
        Remove unused bindings.
      
      * lisp/subr.el (keymap-canonicalize): Remove unused binding.
        (read-passwd): Mark unused arg.
      
      * lisp/tutorial.el (tutorial--display-changes): Remove unused binding.
        (tutorial--save-tutorial-to): Remove unused variable.
      
      * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete)
        (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
        (package-generate-autoloads, package-menu--generate)
        (package-menu--find-upgrades): Remove unused bindings.
      
      * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle)
        (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
        (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
        (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
        (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
        (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
        (cua--rectangle-aux-replace, cua--left-fill-rectangle)
        (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
        (cua-delete-char-rectangle): Mark unused args.
        (cua-align-rectangle): Remove unused binding.
      
      * lisp/mail/rmail.el (compilation--message->loc)
        (epa--find-coding-system-for-mime-charset): Declare.
      
      * lisp/net/dbus.el (dbus-register-service): Declare.
        (dbus-name-owner-changed-handler): Remove unused binding.
      
      * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
        (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
        (nxml-scan-backward-within): Mark unused arg.
        (nxml-dynamic-markup-word): Remove unused binding.
      4d6769e1
    • Glenn Morris's avatar
      More small edits for doc/lispref/minibuf.texi · c0ea08d2
      Glenn Morris authored
      * doc/lispref/minibuf.texi (Object from Minibuffer):
      Remove overly pedantic paragraph.
      (Minibuffer History): Copyedits.  Add face-name-history.
      (Initial Input, Yes-or-No Queries, Multiple Queries)
      (Minibuffer Windows, Minibuffer Misc): Copyedits.
      (Yes-or-No Queries): Tweak example.
      (Minibuffer Commands): Add next-complete-history-element.
      (Minibuffer Misc): Mention minibuffer-message-timeout, and
      minibuffer-inactive-mode.
      
      * doc/lispref/minibuf.texi (Minibuffers):
      * doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
      Fix minibuffer subsection order.
      
      * lisp/subr.el: Comment.
      c0ea08d2
  9. 17 Apr, 2012 1 commit
  10. 11 Apr, 2012 1 commit
  11. 09 Apr, 2012 1 commit
  12. 04 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Several miscellaneous doc changes. · 3d439cd1
      Chong Yidong authored
      * doc/lispref/display.texi (Delayed Warnings): New node.
      
      * doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG.
      
      * doc/misc/gnus.texi: Reduce references to obsolete pgg library.
      (Security): Note that epg is now the default.
      
      * doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default.
      
      * doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to
      nxml-complete.
      
      * lisp/subr.el (delayed-warnings-hook): Doc fix.
      
      * src/keyboard.c (Vdelayed_warnings_list): Doc fix.
      3d439cd1
  13. 16 Mar, 2012 1 commit
  14. 11 Mar, 2012 2 commits
  15. 10 Feb, 2012 1 commit
  16. 09 Feb, 2012 1 commit
  17. 04 Feb, 2012 1 commit
  18. 02 Feb, 2012 1 commit
    • Glenn Morris's avatar
      Document change-major-mode-after-body-hook · 12f381b7
      Glenn Morris authored
      * doc/lispref/hooks.texi (Standard Hooks):
      * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks):
      Document change-major-mode-after-body-hook.
      
      * lisp/subr.el (run-mode-hooks): Doc fix.
      
      * etc/NEWS: Markup
      12f381b7
  19. 23 Jan, 2012 2 commits
  20. 11 Jan, 2012 1 commit
  21. 07 Jan, 2012 1 commit
  22. 05 Jan, 2012 1 commit
  23. 23 Nov, 2011 1 commit
  24. 19 Nov, 2011 1 commit
  25. 11 Nov, 2011 1 commit
  26. 31 Oct, 2011 1 commit
  27. 29 Oct, 2011 1 commit
  28. 27 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Replace fundamental-mode-hook with change-major-mode-after-body-hook. · 15de15c6
      Chong Yidong authored
      * lisp/simple.el (fundamental-mode):
      * lisp/emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
      change introducing fundamental-mode-hook.
      
      * lisp/subr.el (change-major-mode-after-body-hook): New hook.
      (run-mode-hooks): Run it.
      
      * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Use
      change-major-mode-before-body-hook.
      15de15c6
  29. 26 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Document with-wrapper-hook. · b1f6fa26
      Chong Yidong authored
      * doc/emacs/modes.texi (Running Hooks): Document with-wrapper-hook.
      
      * lisp/subr.el (with-wrapper-hook): Rewrite doc.
      b1f6fa26
  30. 24 Oct, 2011 1 commit
  31. 06 Oct, 2011 1 commit
  32. 05 Oct, 2011 1 commit
  33. 28 Sep, 2011 1 commit
  34. 23 Sep, 2011 1 commit
  35. 11 Sep, 2011 3 commits