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
Richard M. Stallman
592060ab2f
(emacs-lisp-mode-syntax-table): Give @ prefix syntax.
2003-04-24 01:36:13 +00:00
Richard M. Stallman
1d24f61858
(last-sexp-toggle-display): At end of buffer, run the global binding
...
of the same key.
2003-04-14 10:09:35 +00:00
Richard M. Stallman
98996d899e
(last-sexp-toggle-display): At end of buffer, just call `newline'.
2003-04-09 01:32:45 +00:00
Richard M. Stallman
56708dce08
(last-sexp-toggle-display): Correct the starting point for
...
previous-single-property-change.
2003-04-06 20:17:01 +00:00
Matthew Swift
3e8737bf4c
(emacs-lisp-docstring-fill-column): New custom variable.
...
(lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so
that first docstring lines ending with a comma are respected. Add
"`(" to same so that function and macro bodies beginning with a
backquote do not get disturbed. Revise the comments.
2003-03-02 16:18:36 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
John Paul Wallington
e2cd29bdb4
* font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
...
* emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
`deftheme'. Fix docstring offsets for `define-ibuffer-filter' and
`define-ibuffer-sorter'.
(lisp-imenu-generic-expression): Add `deftheme' to types.
* custom.el (customize-mark-to-save, customize-mark-as-set)
(custom-remove-theme): Doc fixes.
2003-01-29 21:45:56 +00:00
Stefan Monnier
833815e8a7
(lisp-fill-paragraph): Use fill-comment-paragraph.
2002-11-03 03:46:56 +00:00
Stefan Monnier
2df6093916
(lisp-fill-paragraph): Use match-string and line-beginning-position.
...
Don't bother making paragraph-start a superset of paragraph-separate.
2002-11-02 01:38:03 +00:00
Juanma Barranquero
4696802bde
Fix typo.
2002-07-03 12:01:24 +00:00
Colin Walters
f767db5b14
Handle define-ibuffer-column, define-ibuffer-filter,
...
define-ibuffer-sorter, and define-ibuffer-op.
2002-01-13 05:40:59 +00:00
Richard M. Stallman
726e8778c8
(eval-defun-1): Cope with atoms as args.
2001-12-21 14:07:45 +00:00
Colin Walters
52c9b141f4
(toplevel): Define docstring offset for `defmacro*'.
2001-12-04 07:12:56 +00:00
Stefan Monnier
0a88ae7b2a
(read-if): Add lisp-indent-function prop.
2001-11-30 10:17:56 +00:00
Stefan Monnier
52cf5c37c1
(lisp-mode-variables): Set syntax-begin-function.
...
(lisp-interaction-mode-abbrev-table): Defvar to its correct value.
(lisp-interaction-mode): Don't set local-abbrev-table any more.
(lisp-mode-auto-fill): Use syntax-ppss and obey
comment-auto-fill-only-comments.
(lisp-fill-paragraph): Use syntax-ppss.
2001-11-25 21:47:40 +00:00
Richard M. Stallman
9fefa08b84
(lisp-indent-function): Add doc string.
2001-11-25 19:35:29 +00:00
Richard M. Stallman
310b122741
(lisp-interaction-mode): Set local-abbrev-table to lisp-mode-abbrev-table.
2001-11-20 23:54:28 +00:00
Richard M. Stallman
dda7c01036
(lisp-mode, emacs-lisp-mode): Don't use define-derived-mode.
2001-11-20 23:41:41 +00:00
Stefan Monnier
ed3c639167
(lisp-fill-paragraph): Don't move back to a line without a comment.
2001-11-20 15:10:42 +00:00
Pavel Janík
c9be79b040
Fix typo.
2001-11-15 15:56:23 +00:00