Commit graph

211 commits

Author SHA1 Message Date
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Stefan Monnier
b608e3027e (lisp-mode-shared-map): Use the default TAB binding to obey tab-always-indent. 2007-09-19 13:44:43 +00:00
Richard M. Stallman
f2a92f2af5 (lisp-indent-offset): Make defcustom. Add `safe-local-variable' property.
(lisp-body-indent): Likewise.
2007-09-02 19:20:04 +00:00
Vinicius Jose Latorre
88b73bbf7e preceding-sexp 2007-08-20 15:53:09 +00:00
Vinicius Jose Latorre
30a718e6b7 preceding-sexp 2007-08-20 15:52:47 +00:00
Richard M. Stallman
ea2e3ef4a3 (emacs-lisp-mode-syntax-table): Treat non-break space as whitespace in Lisp. 2007-07-30 20:08:56 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Thien-Thi Nguyen
26716cc246 (calculate-lisp-indent): In the
case of alignment under a constant symbol, find and consider
the sexp actually at indentation to be the "last sexp".
2007-07-21 09:06:17 +00:00
Richard M. Stallman
c40e86ef0a (eval-defun): Explain special handling of `defface'. 2007-07-10 01:07:09 +00:00
Andreas Schwab
01d4effe81 (eval-last-sexp): Avoid introducing any
dynamic bindings around the evaluation of the expression.
2007-07-06 17:30:06 +00:00
Stefan Monnier
8ae799ba73 (lisp-fill-paragraph): Only obey emacs-lisp-docstring-fill-column in
emacs-lisp-mode.
2007-04-01 19:35:32 +00:00
Richard M. Stallman
4252132f9a (calculate-lisp-indent): Redo previous change. 2007-03-05 03:20:58 +00:00
Eli Zaretskii
8e1ac0634a (calculate-lisp-indent): Added indentation for the constants of Lisp. 2007-02-17 11:35:22 +00:00
Richard M. Stallman
9f25c0d219 (indent-sexp): Clean up termination condition -- don't fail to stop at endpos. 2007-02-11 11:12:20 +00:00
Chong Yidong
2b9170195b define-global-minor-mode changed to define-globalized-minor-mode. 2007-02-03 17:25:35 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Eli Zaretskii
f56cd1335c (last-sexp-toggle-display): Fixed cursor position when toggle abbreviated
display.
2007-01-20 15:43:48 +00:00
Thien-Thi Nguyen
529eacf726 (emacs-lisp-mode-map): Use eval-buffer. 2006-07-05 07:47:41 +00:00
Richard M. Stallman
a8d78e0d70 (eval-print-last-sexp, eval-last-sexp, eval-defun): Doc fixes. 2006-04-07 23:30:23 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juri Linkov
3cbdd0c19d Put `doc-string-elt' property on
easy-mmode-define-global-mode and define-global-minor-mode.
(lisp-imenu-generic-expression): Add define-global-minor-mode.
2005-12-04 02:36:13 +00:00
Eli Zaretskii
d20a1ebb17 (lisp-imenu-generic-expression): Fix bug whereby names of length one
or names starting with a symbol-constituent character would not be returned.
2005-12-03 09:48:08 +00:00
Stefan Monnier
5a3859e611 (lisp-mode-variables): Don't set comment-indent-function.
(lisp-comment-indent): Replace by an alias for comment-indent-default.
2005-11-08 01:46:37 +00:00
Stefan Monnier
8c6fac61df (easy-mmode-define-global-mode): Don't add a dummy doc-string-elt property.
(defalias, defvaralias, define-category): Add a docstring property.
2005-10-24 16:47:53 +00:00
Stefan Monnier
d95af087de (lisp-mode-syntax-table): Move the nesting bit from # to |.
(lisp-font-lock-syntactic-face-function): Distinguish |...| symbols.
2005-10-05 15:19:38 +00:00
Stefan Monnier
f8ab194748 (lambda): Add its doc-string-elt property.
(lisp-doc-string-elt-property): New var.
(lisp-font-lock-syntactic-face-function): Use it.
Rewrite to recognize docstrings even for forms not at toplevel.
2005-10-05 15:03:09 +00:00
Stefan Monnier
efbbcafbbe (lisp-font-lock-syntactic-face-function):
Don't mark as docstring the 3rd elem of an unknown toplevel form.
2005-10-05 14:07:18 +00:00
Juanma Barranquero
e0f589807f (font-lock-comment-face, font-lock-doc-face, font-lock-string-face,
font-lock-keywords-case-fold-search): Add defvars.
(emacs-lisp-mode-syntax-table): "?\ " -> "?\s".
2005-08-29 13:40:39 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Richard M. Stallman
1f7a271b20 (emacs-lisp-mode-syntax-table): Don't give ^M comment-end syntax. 2005-07-15 17:37:27 +00:00
Stefan Monnier
c13ce396ae (lisp-mode-variables): Prevent adaptive
filling from using prefix when filling a single-line docstring.
2005-07-04 20:13:45 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juri Linkov
2a0c538b75 (eval-defun-1): Remove unnecessary quotes. 2005-07-04 01:05:56 +00:00
Richard M. Stallman
e3034a95bc (lisp-mode-variables): Bind comment-indent-function locally. 2005-06-25 14:10:23 +00:00
Juri Linkov
a416b8923f (eval-defun-1):
Set `saved-face' temporarily to nil before calling form.
Set `customized-face' to the new spec after that.
2005-06-21 15:59:33 +00:00
Juanma Barranquero
590bc48b85 (defstruct): Set 'doc-string-elt property. 2005-06-07 10:52:08 +00:00
Richard M. Stallman
76f414790d (lisp-mode-variables): Set font-lock-comment-start-skip. 2005-05-15 14:29:25 +00:00
Lute Kamstra
486212810f (lisp-imenu-generic-expression): Recognize define-generic-mode. 2005-03-24 09:22:11 +00:00
Eli Zaretskii
1b1556b11a (lisp-mode-variables): Recognize `@' in function names. 2005-03-19 14:01:52 +00:00
Lute Kamstra
43817a7520 (lisp-mode-variables): Add ;;;###autoload to `outline-regexp'.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>
(lisp-outline-level): Improve efficiency.  Suggested by David Kastrup
<dak@gnu.org>.
2005-02-15 09:23:22 +00:00
Thien-Thi Nguyen
cc08f5b253 (lisp-indent-function): Fix bug:
When delegating, order args in the funcall correctly.
2005-02-01 15:50:46 +00:00
Thien-Thi Nguyen
b961eb0e98 (lisp-indent-function): Doc fix. 2005-02-01 15:02:50 +00:00
Stefan Monnier
f9475d97ee (eval-defun-1): Make sure `defvar' always sets the default value. 2005-01-28 16:27:13 +00:00
Richard M. Stallman
5a77048aef (indent-pp-sexp): Doc fix. 2005-01-15 18:11:33 +00:00
Stefan Monnier
cd9d956124 (lisp-fill-paragraph): Fix backslashes. 2004-10-09 14:28:12 +00:00
Eli Zaretskii
e8a4208ec8 (lisp-fill-paragraph): Change
paragraph-start regexp so we don't fill code starting with #'(
2004-10-08 17:54:43 +00:00
Thien-Thi Nguyen
2b0e738aee (define-compilation-mode): Specify `doc-string-elt' property. 2004-09-08 11:09:14 +00:00
Richard M. Stallman
4f4ce5976e (prin1-char): Don't turn S-a into A.
Don't return a string that would read as the wrong character code.
2004-08-30 16:05:47 +00:00
Richard M. Stallman
ea2e9f8dc9 Whitespace change. 2004-08-28 15:32:06 +00:00
Richard M. Stallman
87fdf320e9 (prin1-char): Put `shift' modifier into the basic character,
if it has an uppercase form.
2004-08-28 14:00:38 +00:00