summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from emacs-23Stefan Monnier2010-05-081-2/+3
|\|
| * * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.Glenn Morris2010-04-201-1/+2
| |
* | * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.Stefan Monnier2010-04-271-3/+6
| |
* | (lisp-completion-at-point): Try and handle errors.Stefan Monnier2010-04-211-10/+14
| |
* | (lisp-completion-at-point): Complete around point.Stefan Monnier2010-04-201-8/+16
|/ | | | | I.e. include text after point in the completion region. Also, return nil when we're not after/in a symbol.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * minibuffer.el (completion-at-point-functions): New var.Stefan Monnier2009-12-071-4/+14
| | | | | | | | | | | | | | | | | | | (completion-at-point): New command. * indent.el (indent-for-tab-command): Handle the new `complete' behavior. * progmodes/python.el (python-mode-map): Use completion-at-point. (python-completion-at-point): Rename from python-partial-symbol and adjust for use in completion-at-point-functions. (python-mode): Setup completion-at-point for Python completion. * emacs-lisp/lisp.el (lisp-completion-at-point): New function extracted from lisp-complete-symbol. (lisp-complete-symbol): Use it. * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode, setup completion-at-point for Elisp completion. (emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point. * ielm.el (ielm-map): Use completion-at-point. (inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion. * progmodes/sym-comp.el: Move to... * obsolete/sym-comp.el: Move from progmodes.
* * abbrev.el (abbrev-with-wrapper-hook): (re)move...Stefan Monnier2009-11-191-9/+3
| | | | | | | | * simple.el (with-wrapper-hook): ...to here. Add argument `args'. * minibuffer.el (completion-in-region-functions): New hook. (completion-in-region): New function. * emacs-lisp/lisp.el (lisp-complete-symbol): * pcomplete.el (pcomplete-std-complete): Use it.
* (lisp-complete-symbol): Use minibuffer-complete.Stefan Monnier2009-08-301-79/+36
|
* (field-complete): Use minibuffer-complete.Stefan Monnier2009-08-301-37/+10
|
* Remove leading * from defcustom docs.Glenn Morris2009-07-221-1/+1
|
* (end-of-defun-function): Make it more clear thatStefan Monnier2009-03-031-1/+2
| | | | the function takes no argument.
* (beginning-of-defun): Fix harmless paren typo.Stefan Monnier2009-02-191-1/+2
|
* (end-of-defun): Consider the ".*\n" after the end ofStefan Monnier2009-02-191-0/+8
| | | | the function as being part of the function.
* (end-of-defun-function): Docstring fix.Stefan Monnier2009-02-141-2/+3
|
* (end-of-defun): Rewrite, to use the ARG argument to beginning-of-defun-raw.Stefan Monnier2009-02-121-44/+30
|
* (end-of-defun): Don't skip to next line afterStefan Monnier2009-02-121-6/+8
| | | | calling end-of-defun-function if it already moved to BOL.
* Add "^" to interactive spec of sexp movement commandsMiles Bader2009-02-041-10/+10
| | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1534
* (end-of-defun): Protect against infloops (Bug#2106).Chong Yidong2009-01-311-11/+21
|
* Replace last-command-char with last-command-event.Glenn Morris2009-01-091-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Fix typo in previous commit.Juanma Barranquero2008-11-261-1/+1
|
* (forward-sexp, backward-sexp, mark-sexp)Alan Mackenzie2008-11-261-14/+29
| | | | | | | (forward-list, backward-list, down-list, backward-up-list) (up-list, kill-sexp, backward-kill-sexp, kill-backward-up-list) (insert-pair, insert-parentheses): State that the command assumes that point is not in a string or comment.
* Revert last change.Chong Yidong2008-08-151-3/+1
|
* (lisp-complete-symbol): Supply match-size to display-completion-list.Chong Yidong2008-08-141-10/+11
|
* (beginning-of-defun): Doc fix.Chong Yidong2008-08-111-16/+21
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (lisp-complete-symbol):Juri Linkov2008-03-221-1/+3
| | | | | Use `minibuffer-message' to display message "No completions of %s" when this command is called in the minibuffer.
* (parens-require-spaces): Doc fix.Chong Yidong2008-03-051-1/+2
| | | | Reported by Drew Adams <drew.adams@oracle.com>.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (end-of-defun): Restructure so that end-of-defun-function is calledStefan Monnier2007-11-261-49/+77
| | | | | | | | | | consistently, even for negative arguments. (end-of-defun-function): Default to forward-sexp.
* | (beginning-of-defun-raw): Pass `arg' down to beginning-of-defun-function.Stefan Monnier2007-11-221-9/+20
|/
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (lisp-complete-symbol): Make get-buffer-window find windows in other frames.Stefan Monnier2007-03-281-2/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (beginning-of-defun-raw): Optimise (for speed) the case whenChong Yidong2006-12-171-42/+61
| | | | | open-paren-in-column-0-is-defun-start is nil. Based on code by Martin Rudalics.
* Update copyright years.Glenn Morris2006-12-071-1/+1
|
* 2006-11-08 Alan Mackenzie <acm@muc.de>Alan Mackenzie2006-11-081-11/+53
| | | | | | * emacs-lisp/lisp.el (beginning-of-defun-raw): Code up the case (eq open-paren-in-column-0-is-defun-start nil) by searching for least nested open-paren.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (lisp-complete-symbol): Don't print progress messages if in theRomain Francoise2005-12-221-22/+27
| | | | minibuffer.
* (lisp-complete-symbol): Mostly undo the change by Kevin Rodgers.Stefan Monnier2005-12-221-6/+9
| | | | Instead, just hide the completions buffer if we don't need to show it.
* (lisp-complete-symbol): Don't call delete-windows-on with an inexistent buffer.Stefan Monnier2005-12-211-2/+3
|
* (lisp-complete-symbol): Regenerate the completion list, even after a partialEli Zaretskii2005-12-101-5/+8
| | | | | | completion has been inserted in the current buffer. If there are more than 1 completion, redisplay the *Completions* buffer; if the completion is unique, delete the *Completions* window.
* * message.el (message-expand-group): Pass the commonMasatake YAMATO2005-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prefix substring of completion to `display-completion-list'. * mh-comp.el (mh-complete-word): Pass the common prefix substring of completion to `display-completion-list'. * dabbrev.el (dabbrev-completion): Pass the common prefix substring of completion to `display-completion-list'. * filecache.el (file-cache-minibuffer-complete) (file-cache-complete): Ditto. * tempo.el (tempo-display-completions): Ditto. * wid-edit.el (widget-file-complete, widget-color-complete): Ditto. * emacs-lisp/lisp.el (lisp-complete-symbol): Ditto. * eshell/em-hist.el (eshell-list-history): Ditto. * mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto. * progmodes/etags.el (complete-tag): Ditto. * progmodes/make-mode.el (makefile-complete): Ditto. * progmodes/meta-mode.el (meta-complete-symbol): Ditto. * progmodes/octave-mod.el (octave-complete-symbol): Ditto. * progmodes/pascal.el (pascal-complete-word) (pascal-show-completions): Ditto. * textmodes/bibtex.el (bibtex-complete-internal): Ditto. * simple.el (completion-common-substring): New variable. (completion-setup-function): Use `completion-common-substring' to put faces. * minibuf.c (Fdisplay_completion_list): Add new optional argument COMMON_SUBSTRING. Bind `completion-common-substring' to the optional argument during running `completion-setup-hook'.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (check-parens): Fix spellings.Juanma Barranquero2005-06-211-1/+1
|
* (check-parens): Fix docstring.Lute Kamstra2005-05-181-4/+5
|
* (defun-prompt-regexp, parens-require-spaces, buffer-end, end-of-defun)Luc Teirlinck2005-04-081-10/+10
| | | | (insert-parentheses): Doc fixes.