1. 12 Jan, 2014 2 commits
    • Leo Liu's avatar
      Some minor fixes · 3b922c70
      Leo Liu authored
      * dired-x.el (dired-mode-map): Fix last change.
      * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
      3b922c70
    • Leo Liu's avatar
      Re-implement the feature of showing eldoc info after editing. · 9b335362
      Leo Liu authored
      * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
      (eldoc-edit-message-commands): New function.
      (eldoc-print-after-edit): New variable.
      (eldoc-pre-command-refresh-echo-area): Emit message only by
      eldoc-message-commands.
      (eldoc-mode): Restrict eldoc-message-commands to editing commands
      if eldoc-print-after-edit is set. 
      
      * progmodes/octave.el (octave-mode-menu): Adapt to change in
      eldoc.
      
      Fixes: debbugs:16346
      9b335362
  2. 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
  3. 01 Jan, 2014 1 commit
  4. 04 Dec, 2013 1 commit
  5. 12 Sep, 2013 1 commit
    • Glenn Morris's avatar
      Use with-demoted-errors now that it can format any error messages · 30213927
      Glenn Morris authored
      * dframe.el (dframe-timer-fn):
      * files.el (dir-locals-read-from-file):
      * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run, mpc-format):
      * reveal.el (reveal-post-command):
      * saveplace.el (load-save-place-alist-from-file):
      * shell.el (shell-resync-dirs):
      * w32-common-fns.el (x-get-selection-value):
      * emacs-lisp/copyright.el (copyright-find-copyright):
      * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
      * emulation/tpu-edt.el (tpu-copy-keyfile):
      * play/bubbles.el (bubbles--mark-neighbourhood):
      * progmodes/executable.el (executable-make-buffer-file-executable-if-script-p):
      * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
      30213927
  6. 29 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      Misc changes to reduce use of `(lambda...); and other cleanups. · 40f7e0e8
      Stefan Monnier authored
      * lisp/cus-edit.el: Use lexical-binding.
      (customize-push-and-save, customize-apropos)
      (custom-buffer-create-internal): Use closures.
      * lisp/progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
      * lisp/progmodes/ada-xref.el: Use setq.
      * lisp/net/tramp.el (with-tramp-progress-reporter): Avoid setq.
      * lisp/dframe.el: Use lexical-binding.
      (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
      * lisp/speedbar.el (speedbar-frame-mode): Adjust call accordingly.
      * lisp/descr-text.el: Use lexical-binding.
      (describe-text-widget, describe-text-sexp, describe-property-list):
      Use closures.
      * lisp/comint.el (comint-history-isearch-push-state): Use a closure.
      * lisp/calculator.el: Use lexical-binding.
      (calculator-number-to-string): Make it work with lexical-binding.
      (calculator-funcall): Same and use cl-letf.
      40f7e0e8
  7. 18 Mar, 2013 1 commit
    • Leo Liu's avatar
      Make sure eldoc can be turned off properly. · 33cef733
      Leo Liu authored
      * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
      eldoc-mode.
      (eldoc-display-message-p): Revert last change.
      (eldoc-display-message-no-interference-p)
      (eldoc-print-current-symbol-info): Tweak.
      33cef733
  8. 17 Mar, 2013 1 commit
    • Leo Liu's avatar
      * simple.el (eval-expression-minibuffer-setup-hook): New hook. · 69489f1d
      Leo Liu authored
      (eval-expression): Run it.
      
      Extend eldoc to display info in the mode-line. 
      * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
      (eldoc-mode-line-string): New variable.
      (eldoc-minibuffer-message): New function.
      (eldoc-message-function): New variable.
      (eldoc-message): Use it.
      (eldoc-display-message-p)
      (eldoc-display-message-no-interference-p): Support
      eldoc-post-insert-mode.
      
      Fixes: debbugs:13978
      69489f1d
  9. 18 Feb, 2013 1 commit
  10. 01 Jan, 2013 1 commit
  11. 11 Jan, 2012 1 commit
  12. 05 Jan, 2012 1 commit
  13. 14 Nov, 2011 1 commit
  14. 20 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix more minor mode docstrings. · ac6c8639
      Chong Yidong authored
      * lisp/emulation/cua-base.el (cua-mode):
      * lisp/mail/footnote.el (footnote-mode):
      * lisp/mail/mailabbrev.el (mail-abbrevs-mode):
      * lisp/net/xesam.el (xesam-minor-mode):
      * lisp/progmodes/bug-reference.el (bug-reference-mode):
      * lisp/progmodes/cap-words.el (capitalized-words-mode):
      * lisp/progmodes/compile.el (compilation-minor-mode)
      (compilation-shell-minor-mode):
      * lisp/progmodes/gud.el (gud-tooltip-mode):
      * lisp/progmodes/hideif.el (hide-ifdef-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
      * lisp/progmodes/subword.el (subword-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * lisp/progmodes/which-func.el (which-function-mode):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      * lisp/term/vt100.el (vt100-wide-mode):
      * lisp/textmodes/flyspell.el (flyspell-mode):
      * lisp/textmodes/ispell.el (ispell-minor-mode):
      * lisp/textmodes/nroff-mode.el (nroff-electric-mode):
      * lisp/textmodes/paragraphs.el (use-hard-newlines):
      * lisp/textmodes/refill.el (refill-mode):
      * lisp/textmodes/reftex.el (reftex-mode):
      * lisp/textmodes/rst.el (rst-minor-mode):
      * lisp/textmodes/sgml-mode.el (html-autoview-mode)
      (sgml-electric-tag-pair-mode):
      * lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
      * lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
      * lisp/emulation/crisp.el (crisp-mode):
      * lisp/emacs-lisp/eldoc.el (eldoc-mode):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
      minor mode behavior.
      
      * lisp/erc/erc-fill.el (erc-fill-mode):
      * lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
      
      * lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
      reflect Emacs 24 minor mode changes.
      
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
      calling a minor mode from Lisp with nil arg enables it, so we have to
      make the working a bit ambiguous here).
      ac6c8639
  15. 25 Jan, 2011 1 commit
  16. 15 Jan, 2011 1 commit
  17. 02 Jan, 2011 1 commit
  18. 01 Jun, 2010 1 commit
  19. 13 Jan, 2010 1 commit
  20. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * widget.el (define-widget): Purecopy the docstring. · aaa448c9
      Dan Nicolaescu authored
      * international/mule-cmds.el (charset): Do not purecopy the
      docstring here, define-widget does it.
      
      * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
      * textmodes/bibtex-style.el (auto-mode-alist):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/compile.el (compile-command):
      * language/korea-util.el (default-korean-keyboard):
      * international/mule-conf.el (file-coding-system-alist):
      * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
      * tooltip.el (tooltip-frame-parameters):
      * newcomment.el (comment-end, comment-padding):
      * dired.el (dired-trivial-filenames):
      * comint.el (comint-file-name-prefix): Purecopy initial values.
      aaa448c9
  21. 02 Oct, 2009 1 commit
  22. 24 Jan, 2009 1 commit
  23. 17 Jan, 2009 1 commit
  24. 16 Jan, 2009 1 commit
    • Glenn Morris's avatar
      Remove leading `*' from defcustoms. · 133ea5b2
      Glenn Morris authored
      (eldoc-argument-case, eldoc-echo-area-use-multiline-p)
      (eldoc-highlight-function-argument): Doc fix - mention effect of
      eldoc-documentation-function.
      (eldoc-message-commands-table-size, eldoc-message-commands)
      (eldoc-current-idle-delay, eldoc-get-fnsym-args-string): Doc fix.
      (eldoc-documentation-function): Mention effect on user options.
      133ea5b2
  25. 05 Jan, 2009 1 commit
  26. 28 Nov, 2008 1 commit
  27. 06 May, 2008 1 commit
  28. 07 Jan, 2008 1 commit
  29. 27 Sep, 2007 1 commit
  30. 26 Sep, 2007 2 commits
  31. 24 Aug, 2007 1 commit
  32. 19 Aug, 2007 1 commit
  33. 18 Aug, 2007 1 commit
    • Glenn Morris's avatar
      (eldoc-get-fnsym-args-string): Convert · e5eeb98c
      Glenn Morris authored
      comment to basic doc string.  Also apply eldoc-argument-case in
      the help-split-fundoc case.  Adapt for changed behavior of
      eldoc-function-argstring, eldoc-function-argstring-format, and
      eldoc-highlight-function-argument.
      (eldoc-highlight-function-argument): Make INDEX argument
      optional, just call eldoc-docstring-format-sym-doc if absent.
      (eldoc-function-argstring): Change the behavior.  Now it converts
      an argument list to a string.
      (eldoc-function-argstring-format): Change the behavior.  Now it
      applies `eldoc-argument-case' to a string.
      e5eeb98c
  34. 08 Aug, 2007 1 commit
  35. 25 Jul, 2007 1 commit
  36. 12 Jul, 2007 1 commit
    • Stefan Monnier's avatar
      (eldoc-last-data): Revise documentation. · 1bed504a
      Stefan Monnier authored
      (eldoc-print-current-symbol-info): Adjust for changed helper
      function signatures.
      (eldoc-get-fnsym-args-string): Add `args' argument.  Use new
      `eldoc-highlight-function-argument'.
      (eldoc-highlight-function-argument): New function.
      (eldoc-get-var-docstring): Format documentation with
      `font-lock-variable-name-face'.
      (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
      where suited.
      (eldoc-fnsym-in-current-sexp): Return a list with argument index.
      (eldoc-beginning-of-sexp): Return number of skipped sexps.
      1bed504a
  37. 06 May, 2007 1 commit
  38. 21 Jan, 2007 1 commit