1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
emacs/lisp/calc
Stefan Monnier 535a25164b * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode
Also make `calc-edit-handler` hold a function instead of an expression.

(calc-original-buffer, calc-return-buffer, calc-one-window)
(calc-edit-handler, calc-restore-trail, calc-allow-ret)
(calc-edit-top): Give them a default value.
(calc--edit-mode): New function extracted from old `calc-edit-mode`.
(calc-edit-return, calc-edit-finish): Don't need to test `boundp` any more.
(calc-edit-finish): Allow `calc-edit-handler` to be a function.

(calc-edit, calc-alg-edit):

* lisp/calc/calc-prog.el (calc-edit-user-syntax, calc-user-define-edit):
* lisp/calc/calc-embed.el (calc-embedded-edit):
* lisp/calc/calc-sel.el (calc-edit-selection):
* lisp/calc/calc-store.el (calc-edit-variable):
Use `calc--edit-mode` and make first arg into a function.

* lisp/calc/calc-ext.el (calc-init-extensions): Autoload `calc--edit-mode`
instead of `calc-edit-mode`.
2021-01-04 00:01:58 -05:00
..
calc-aent.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-alg.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-arith.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-bin.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-comb.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-cplx.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-embed.el * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode 2021-01-04 00:01:58 -05:00
calc-ext.el * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode 2021-01-04 00:01:58 -05:00
calc-fin.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-forms.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-frac.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-funcs.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-graph.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-help.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-incom.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-keypd.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-lang.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-macs.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-map.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-math.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-menu.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-misc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-mtx.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-nlfit.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-poly.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-prog.el * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode 2021-01-04 00:01:58 -05:00
calc-rewr.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-rules.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-sel.el * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode 2021-01-04 00:01:58 -05:00
calc-stat.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-store.el * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode 2021-01-04 00:01:58 -05:00
calc-stuff.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-trail.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-undo.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-units.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-vec.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calc-yank.el * lisp/calc/calc-yank.el (calc-edit-mode): Make it into a proper major mode 2021-01-04 00:01:58 -05:00
calc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calcalg2.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calcalg3.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calccomp.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
calcsel2.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00