1. 04 Oct, 2014 1 commit
  2. 24 Feb, 2014 1 commit
  3. 23 Feb, 2014 1 commit
    • Juanma Barranquero's avatar
      lisp/apropos: Fix typos. · e918e27f
      Juanma Barranquero authored
      (apropos-property, apropos-all-words-regexp)
      (apropos-true-hit, apropos-variable, apropos-print):
      Fix docstring typos, and remove obsolete comment.
      e918e27f
  4. 13 Feb, 2014 1 commit
  5. 06 Jan, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/abbrev.el (define-abbrev): Beware new meaning of fboundp. · 6bdd9204
      Stefan Monnier authored
      * lisp/emacs-lisp/elint.el (elint-find-builtins):
      * lisp/emacs-lisp/eldoc.el (eldoc-symbol-function):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
      (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
      * lisp/apropos.el (apropos-safe-documentation):
      * lisp/subr.el (symbol-file): Remove redundant fboundp.
      * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
      6bdd9204
  6. 01 Jan, 2014 1 commit
  7. 28 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Every defcustom should specify its type · 9c5a5c77
      Glenn Morris authored
      * apropos.el (apropos-match-face):
      * calculator.el (calculator-displayer):
      * dabbrev.el (dabbrev-search-these-buffers-only):
      * face-remap.el (buffer-face-mode-face):
      * simple.el (yank-handled-properties):
      * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
      * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
      * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
      (hashcash-double-spend-database):
      * progmodes/ruby-mode.el (ruby-deep-indent-paren)
      (ruby-deep-indent-paren-style):
      * textmodes/flyspell.el (flyspell-auto-correct-binding):
      * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
      (rst-toc-insert-number-separator, rst-toc-insert-max-level):
      * vc/pcvs-defs.el (cvs-minor-mode-prefix):
      * erc/erc-log.el (erc-log-file-coding-system):
      * gnus/gnus-sieve.el (gnus-sieve-select-method):
      * gnus/gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl)
      (gravatar-rating, gravatar-size):
      * gnus/message.el (message-minibuffer-local-map):
      * gnus/sieve-manage.el (sieve-manage-authenticators)
      (sieve-manage-authenticator-alist):
      Specify custom types.
      
      * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
      Update callers.
      9c5a5c77
  8. 18 Dec, 2013 1 commit
  9. 04 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (macrop): New function. · 671d5c16
      Stefan Monnier authored
      (text-clone--maintaining): New var.
      (text-clone--maintain): Rename from text-clone-maintain.  Use it
      instead of inhibit-modification-hooks.
      
      * lisp/emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
      a proxy, so as handle autoloads and redefinitions of the target.
      (advice--defalias-fset, advice-remove): Use advice--symbol-function.
      
      * lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
      Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
      (pcase--mutually-exclusive-p): New function.
      (pcase--split-consp): Use it.
      (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
      mutually exclusive with the current predicate.
      
      * test/automated/advice-tests.el (advice-tests-nadvice): Test removal
      before definition.
      (advice-tests-macroaliases): New test.
      
      * lisp/emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
      (edebug-macrop): Remove.  Use `macrop' instead.
      * lisp/emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
      (ad-macro-p):
      * lisp/eshell/esh-cmd.el (eshell-macrop):
      * lisp/apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
      671d5c16
  10. 07 Jan, 2013 1 commit
  11. 01 Jan, 2013 1 commit
  12. 15 Aug, 2012 1 commit
  13. 26 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Autoload more carefully from Lisp. Follow aliases for function properties. · 7abaf5cc
      Stefan Monnier authored
      * lisp/subr.el (autoloadp): New function.
      (symbol-file): Use it.
      (function-get): New function.
      * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
      autoload-do-load.
      * lisp/emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
      (lisp-indent-function):
      * lisp/emacs-lisp/gv.el (gv-get):
      * lisp/emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
      * lisp/emacs-lisp/autoload.el (make-autoload, autoload-print-form):
      Use function-get.
      * lisp/emacs-lisp/cl.el: Don't propagate function properties any more.
      
      * src/eval.c (Fautoload_do_load): Rename from do_autoload, export to Lisp,
      add argument, tune behavior, and adjust all callers.
      
      * lisp/speedbar.el (speedbar-add-localized-speedbar-support):
      * lisp/emacs-lisp/disass.el (disassemble-internal):
      * lisp/desktop.el (desktop-load-file):
      * lisp/help-fns.el (help-function-arglist, find-lisp-object-file-name)
      (describe-function-1):
      * lisp/emacs-lisp/find-func.el (find-function-noselect):
      * lisp/emacs-lisp/elp.el (elp-instrument-function):
      * lisp/emacs-lisp/advice.el (ad-has-proper-definition):
      * lisp/apropos.el (apropos-safe-documentation, apropos-macrop):
      * lisp/emacs-lisp/debug.el (debug-on-entry):
      * lisp/emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
      * lisp/calc/calc.el (name): Use autoloadp & autoload-do-load.
      7abaf5cc
  14. 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
  15. 23 Apr, 2012 3 commits
    • Chong Yidong's avatar
      Use proper faces in apropos.el. · 46c71e23
      Chong Yidong authored
      * lisp/apropos.el (apropos-symbol, apropos-keybinding, apropos-label)
      (apropos-property, apropos-function-button)
      (apropos-variable-button, apropos-misc-button): New faces.
      (apropos-symbol-face, apropos-keybinding-face)
      (apropos-label-face, apropos-property-face, apropos-match-face):
      Variables removed.
      (apropos-library-button, apropos-format-plist, apropos-print)
      (apropos-print-doc, apropos-describe-plist): Callers changed.
      
      Fixes: debbugs:8396
      46c71e23
    • Chong Yidong's avatar
      * apropos.el (apropos-read-pattern): Fix word list splitting. · 922d37d3
      Chong Yidong authored
      Fixes: debbugs:11132
      922d37d3
    • Chong Yidong's avatar
      Remove non-option variable handling from customize-apropos · 775c916b
      Chong Yidong authored
      and enable use of word lists for customize-apropos-options etc.
      
      * lisp/apropos.el (apropos-read-pattern): Make prompt less cryptic.
      
      * lisp/cus-edit.el (customize-apropos, customize-apropos-options):
      Disable matching of non-option variables.
      (customize-option, customize-option-other-window)
      (customize-changed-options): Doc fix.
      (customize-apropos-options, customize-apropos-faces)
      (customize-apropos-groups): Use apropos-read-pattern.
      
      Fixes: debbugs:11176
      775c916b
  16. 09 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Remove defining user variables via * in docstring. · b4d3bc10
      Chong Yidong authored
      * lisp/apropos.el (apropos-variable):
      * lisp/files-x.el (read-file-local-variable):
      * lisp/simple.el (set-variable):
      * lisp/woman.el (woman-mini-help):
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
      
      * lisp/custom.el (custom-variable-p): Return nil for non-symbol
      arguments instead of signaling an error.
      (user-variable-p): Obsolete alias for custom-variable-p.
      
      * lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
      user-variable-p.
      
      * src/callint.c (Finteractive, Fcall_interactively):
      * src/minibuf.c (Fread_variable): Callers changed.
      
      * src/eval.c (Fuser_variable_p, user_variable_p_eh)
      (lisp_indirect_variable): Functions deleted.
      (Fdefvar): Caller changed.
      
      * doc/lispref/commands.texi (Interactive Codes):
      * doc/lispref/help.texi (Accessing Documentation):
      * doc/lispref/minibuf.texi (High-Level Completion): Callers changed.
      
      * doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
      b4d3bc10
  17. 11 Jan, 2012 1 commit
  18. 05 Jan, 2012 1 commit
  19. 14 Nov, 2011 1 commit
  20. 12 Nov, 2011 1 commit
    • Glenn Morris's avatar
      apropos.el doc fixes. · 98282f6f
      Glenn Morris authored
      * lisp/apropos.el (apropos-do-all, apropos-library, apropos-value)
      (apropos-documentation): Doc fixes.
      98282f6f
  21. 06 May, 2011 1 commit
  22. 24 Apr, 2011 1 commit
    • Chong Yidong's avatar
      Improve apropos buffer highlighting. · 4ef177aa
      Chong Yidong authored
      * lisp/apropos.el (apropos-label-face): Avoid variable-pitch face.
      (apropos-accumulator): Doc fix.
      (apropos-function, apropos-macro, apropos-command)
      (apropos-variable, apropos-face, apropos-group, apropos-widget)
      (apropos-plist): Add face property.
      (apropos-symbols-internal): Fix indentation.
      (apropos-print): Simplify help, and recognize apropos-multi-type.
      (apropos-print-doc): Use button-type-get to extract the button's
      face property.  Fill docstring (Bug#8352).
      4ef177aa
  23. 19 Apr, 2011 1 commit
  24. 18 Feb, 2011 1 commit
    • Chong Yidong's avatar
      Fix incorrect changes introduced in 2011-02-02T17:59:44Z!sds@gnu.org. · abd20d91
      Chong Yidong authored
      * lisp/apropos.el (apropos-print): Call apropos-mode before setting up
      buffer variables.  Use inhibit-read-only.
      
      * lisp/emacs-lisp/package.el (package--list-packages): Call
      package-menu-mode before setting up buffer variables.
      
      * lisp/play/solitaire.el (solitaire): Call solitaire-mode before
      setting up buffer variables.  Use inhibit-read-only.
      abd20d91
  25. 02 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/apropos.el (apropos-print): Now that `apropos-mode' inherits · e90f8545
      Sam Steingold authored
      from `special-mode', entering it makes the buffer read-only, so
      call it only when everything has been already inserted.
      * lisp/emacs-lisp/ert.el (ert--setup-results-buffer)
      (ert-results-pop-to-backtrace-for-test-at-point)
      (ert-results-pop-to-messages-for-test-at-point)
      (ert-results-pop-to-timings): Ditto.
      * lisp/emacs-lisp/package.el (package--list-packages): Ditto.
      * lisp/play/solitaire.el (solitaire): Ditto.
      e90f8545
  26. 01 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode'; · abef340a
      Sam Steingold authored
      bind "z" to `kill-this-buffer'.
      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
      * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
      (apropos-mode): Inherit from `special-mode'.
      * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
      * lisp/bookmark.el (bookmark-bmenu-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
      * lisp/image-mode.el (image-mode-map): Ditto.
      * lisp/replace.el (occur-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
      * lisp/calendar/diary-lib.el (diary-fancy-display-mode):
      Inherit from `special-mode-map'.
      * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
      Inherit from `special-mode'.
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
      `special-mode-map'.
      (package-menu-mode): Define using `define-derived-mode'
      inheriting from `special-mode'.
      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
      * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
      (xesam-mode-map): Define separately.
      * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
      * lisp/progmodes/compile.el (compilation-minor-mode-map)
      (compilation-mode-map): Inherit from `special-mode-map'.
      * lisp/vc/diff-mode.el (diff-mode-shared-map):
      Inherit from `special-mode-map'.
      * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
      abef340a
  27. 25 Jan, 2011 1 commit
  28. 15 Jan, 2011 1 commit
  29. 02 Jan, 2011 1 commit
  30. 29 Aug, 2010 1 commit
  31. 13 Jan, 2010 1 commit
  32. 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
  33. 02 Oct, 2009 1 commit
  34. 15 Sep, 2009 1 commit
  35. 11 Sep, 2009 1 commit
  36. 31 Aug, 2009 1 commit
  37. 21 Aug, 2009 1 commit
  38. 21 Feb, 2009 1 commit