Commit graph

144 commits

Author SHA1 Message Date
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
Stefan Monnier
63b74e641f (lisp-imenu-generic-expression): Paren typo.
(lisp-mode-variables): Don't set paragraph-{start,separate}.
Don't disable adaptive-fill-mode.
(lisp-fill-paragraph): Use tab-width rather than 8.
Prevent filling the first line of docstrings.
2001-11-07 01:15:30 +00:00
Richard M. Stallman
2bb659660e (eval-last-sexp-1): Return the value of the evaluated form. 2001-11-06 04:44:51 +00:00
Richard M. Stallman
48461f7cde (last-sexp-toggle-display): Cope if previous-single-property-change or
next-single-char-property-change returns nil.
2001-11-05 02:35:44 +00:00
Richard M. Stallman
46f90d0ff3 (eval-defun): Doc fix. 2001-10-28 14:15:14 +00:00
Gerd Moellmann
d7f519edc1 (lisp-imenu-generic-expression): Use regexp-opt.
(doc-string-elt): Set symbol's prop.  Copied from autoload.el.
(lisp-font-lock-syntactic-face-function): New function.
(lisp-mode-variables): Use it.  Make arg optional.
(emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
(lisp-mode): Don't pass an arg to lisp-mode-variables.
Set comment-start-skip.
2001-10-05 09:31:27 +00:00
Gerd Moellmann
cb79ea6486 (last-sexp-setup-props): New function.
(last-sexp-toggle-display): Renamed from last-sexp-print.
(last-sexp-toggle-display, eval-last-sexp-1): Use
last-sexp-setup-props.
2001-07-27 15:26:53 +00:00
Gerd Moellmann
8f4f953c20 (eval-last-sexp-1): Don't search for
`...', compare with unabbreviated printed representation instead.
(last-sexp-print): Bind print-length and print-level to nil.
2001-07-26 13:41:32 +00:00
Gerd Moellmann
be4a68f92a (eval-last-sexp-1): Look for a `...'
before assigning text properties.  Make properties rear-nonsticky.
2001-07-26 13:34:32 +00:00
Gerd Moellmann
5f0962558d (last-sexp-print): New function.
(eval-last-sexp-1): Give printed text a `keymap' property and bind
<mouse-2> and <RET> in that map to a function printing the
unabbreviated value.
2001-07-26 12:31:38 +00:00
Gerd Moellmann
6849e6d5ee (eval-last-sexp-1): If standard-output
is a buffer, put a text property `printed-value' on the printed
representation, with the Lisp object printed as value.
2001-07-26 09:28:58 +00:00
Eli Zaretskii
343462edc9 (eval-print-last-sexp, eval-defun):
Mention the effect of eval-expression-print-length and
eval-expression-print-level.  Suggested by Kevin Gallagher
<kevingal@onramp.net>.
2001-07-25 16:24:58 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
a25e82a815 (lisp-mode-shared-map): Bind TAB
to lisp-indent-line.
2001-07-06 15:33:36 +00:00
Richard M. Stallman
0202508f43 (eval-last-sexp): Doc fix. 2001-06-23 19:36:23 +00:00
Eli Zaretskii
cada28bb17 (lisp-indent-offset): Add a doc string. 2001-06-05 08:50:20 +00:00
Gerd Moellmann
5408c14970 (lisp-mode): Make
font-lock-keywords-case-fold-search a buffer-local variable
with make-local-variable before setting it.
2001-05-15 11:52:10 +00:00
Gerd Moellmann
94f8f5d38e (lisp-interaction-mode): Doc fix. 2001-05-09 15:44:18 +00:00
Eli Zaretskii
c1acacc417 (lisp-mode-shared-map): Undo the change from 2001-01-12. It is not needed,
since backspace is now mapped into DEL.
2001-01-27 12:20:18 +00:00
Sam Steingold
ca2ddd8ed5 (lisp-mode-shared-map): Bind backspace' to backward-delete-char-untabify'. 2001-01-12 18:07:31 +00:00
Dave Love
01b9100905 (lisp-mode): Set
font-lock-keywords-case-fold-search.
2000-12-08 12:14:26 +00:00
Stefan Monnier
1594a23a93 (lisp-mode-variables):
Set font-lock-defaults.
(lisp-mode-shared-map): Init inside the defvar.
(emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
Use define-derived-mode.
2000-11-14 09:52:24 +00:00
Dave Love
b0d9985339 (lisp-imenu-generic-expression): Match
defun*.
2000-11-06 12:28:33 +00:00
Dave Love
99ec65b3b5 (lisp-imenu-generic-expression): Don't
insist on symbols starting with word syntax.
(lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
(eval-defun-1): Doc fix.
(indent-sexp): Use nconc to build up indent-stack.
2000-10-08 17:23:50 +00:00
Gerd Moellmann
07ca56eb35 (eval-last-sexp-1): Handle `#N=' labels. 2000-08-08 12:16:11 +00:00
Gerd Moellmann
105d6be118 (eval-defun-2): Remove parameter
EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
(eval-defun): If called with prefix arg, instrument code for
Edebug.
2000-07-05 15:16:15 +00:00
Stefan Monnier
3f0c3d8b96 (lisp-mode-variables): Set comment-add. 2000-05-19 21:36:14 +00:00
Dave Love
5e871da0a6 (lisp-eval-defun): Make arglist compatible with inf-lisp version.
(eval-defun-1): Fix custom-declare-variable case.
2000-03-26 16:36:17 +00:00
Dave Love
e5f597f0bf (lisp-mode-syntax-table): Fix syntax of |. 2000-03-01 21:02:37 +00:00
Kenichi Handa
1d3529b69f Don't change syntax of multibyte
characters.
(lisp-mode-variables): Set multibyte-syntax-as-symbol to t
locally.
2000-02-23 00:11:44 +00:00
Dave Love
535eadacb1 (emacs-lisp-mode-syntax-table)
(lisp-mode-map, lisp-interaction-mode-map): Define all inside
defvar.
(lisp-mode-syntax-table): Set up for #|...|# comments.
(lisp-imenu-generic-expression): Purecopy strings.  Use syntax
classes.  Match `defface'.
(emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
(eval-defun-1): Fix for defcustom.
(lisp-indent-region): Doc fix.
2000-02-22 20:13:31 +00:00