Remove redundant def-setting! docstrings
def-setting! will now grab the autodef's docstring if it has an :obsolete property defined.
This commit is contained in:
parent
51aa60d67d
commit
f81a0e6f41
7 changed files with 7 additions and 49 deletions
|
@ -17,8 +17,6 @@ function that creates and returns the REPL buffer."
|
|||
;; FIXME obsolete :repl
|
||||
;;;###autoload
|
||||
(def-setting! :repl (mode command)
|
||||
"Define a REPL for a mode. MODE is a major mode symbol and COMMAND is a
|
||||
function that creates and returns the REPL buffer."
|
||||
:obsolete set-repl-handler!
|
||||
`(push (cons ,mode ,command) +eval-repls))
|
||||
|
||||
|
@ -61,16 +59,5 @@ function that creates and returns the REPL buffer."
|
|||
;; FIXME obsolete :eval
|
||||
;;;###autoload
|
||||
(def-setting! :eval (mode command)
|
||||
"Define a code evaluator for major mode MODE with `quickrun'.
|
||||
|
||||
1. If MODE is a string and COMMAND is the string, MODE is a file regexp and
|
||||
COMMAND is a string key for an entry in `quickrun-file-alist'.
|
||||
2. If MODE is not a string and COMMAND is a string, MODE is a major-mode symbol
|
||||
and COMMAND is a key (for `quickrun--language-alist'), and will be registered
|
||||
in `quickrun--major-mode-alist'.
|
||||
3. If MODE is not a string and COMMAND is an alist, see `quickrun-add-command':
|
||||
(quickrun-add-command MODE COMMAND :mode MODE).
|
||||
4. If MODE is not a string and COMMANd is a symbol, add it to
|
||||
`+eval-runners', which is used by `+eval/region'."
|
||||
:obsolete set-eval-handler!
|
||||
`(set-eval-handler! ,mode ,command))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue