Commit graph

194 commits

Author SHA1 Message Date
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
Richard M. Stallman
06f308a7e2 (eval-last-sexp): Don't cons a new symbol each time.
(eval-last-sexp-fake-value): New variable.
2004-08-16 22:44:11 +00:00
Juri Linkov
217297f8ec (eval-defun-1): Add `defface'. Fix docstring. 2004-06-10 04:16:05 +00:00
Richard M. Stallman
152472ba19 (prin1-char): Catch errors from `string'.
(eval-last-sexp-print-value): Print char equivalent regardless
of standard-output value.
2004-05-29 15:33:30 +00:00
Juri Linkov
889bfc7d44 * emacs-lisp/lisp-mode.el (indent-pp-sexp): New fun.
(emacs-lisp-mode-map, lisp-interaction-mode-map):
Bind C-M-q to `indent-pp-sexp'.
(eval-last-sexp-print-value): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:09:05 +00:00
Sam Steingold
59de4ad0fc (lisp-find-tag-default): Strip the package prefix from the symbol name, if any.
Make it the `find-tag-default-function' for `lisp-mode'.
2004-05-25 20:51:06 +00:00
Stefan Monnier
7a439904ec (prin1-char): Use eventp. 2004-05-11 03:17:59 +00:00
Stefan Monnier
4f9d876485 (lisp-mode-variables): Don't set
normal-auto-fill-function and comment-indent-function.
The default values now work just as well.
Don't set font-lock-beginning-of-syntax-function since we already set
syntax-begin-function.
(lisp-outline-level): Put ;;;###autoload at same level as (.
(prin1-char): Quote special chars.
2004-03-22 15:31:46 +00:00
Stefan Monnier
d8a8cbe26c (lisp-mode-variables): Set it. 2004-03-08 02:15:05 +00:00
Luc Teirlinck
5410f047b3 (lisp-mode-variables): Adapt outline-regexp to the new conventions for
commenting out code.
2004-02-12 01:50:46 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
60b2e60d2d (common-lisp-mode): New. 2003-08-20 18:53:12 +00:00
Richard M. Stallman
606f5e7543 (eval-last-sexp-print-value): New subroutine, broken out of eval-last-sexp-1.
(eval-last-sexp-1): Use eval-last-sexp-print-value.
2003-08-17 00:18:15 +00:00
Richard M. Stallman
fb16e93267 (emacs-lisp-mode): Use run-mode-hooks.
(lisp-mode): Likewise.
2003-07-21 09:58:06 +00:00
Juanma Barranquero
d8bae9fc04 (last-sexp-toggle-display): Remove stale comment. 2003-06-03 23:14:25 +00:00
Richard M. Stallman
c4e2d7912b (eval-last-sexp-1): Add save-excursion. 2003-06-03 11:10:31 +00:00
Richard M. Stallman
3b8d36f152 (last-sexp-toggle-display):
Undo previous change (don't check for eob).  Widen at the beginning.
2003-05-28 11:27:52 +00:00
Stefan Monnier
c689a61d1c (lisp-font-lock-syntactic-face-function): Don't infinite lop at bob.
(emacs-lisp-mode): Mark its main custom group to be `lisp'.
(prin1-char): New fun.
(eval-last-sexp-1): Use it.  Use with-syntax-table as well.
(eval-defun-1): Don't replace `defvar' with `defconst'.
2003-05-27 14:17:17 +00:00