mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Change defgeneric so it doesn't completely redefine the function
* lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away previously defined methods. (cl-generic-define-method): Let-bind purify-flag instead of using `fset'. (cl--generic-prefill-dispatchers): Only define during compilation. (cl-method-qualifiers): Remove redundant alias. (help-fns-short-filename): Silence byte-compiler. * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
This commit is contained in:
parent
f590fc2760
commit
ea92591983
4 changed files with 66 additions and 28 deletions
|
|
@ -107,13 +107,13 @@ char *w32_getenv (char *);
|
|||
/* Name used to invoke this program. */
|
||||
const char *progname;
|
||||
|
||||
/* The second argument to main. */
|
||||
/* The second argument to main. */
|
||||
char **main_argv;
|
||||
|
||||
/* Nonzero means don't wait for a response from Emacs. --no-wait. */
|
||||
int nowait = 0;
|
||||
|
||||
/* Nonzero means don't print messages for successful operations. --quiet. */
|
||||
/* Nonzero means don't print messages for successful operations. --quiet. */
|
||||
int quiet = 0;
|
||||
|
||||
/* Nonzero means args are expressions to be evaluated. --eval. */
|
||||
|
|
@ -131,7 +131,7 @@ const char *alt_display = NULL;
|
|||
/* The parent window ID, if we are opening a frame via XEmbed. */
|
||||
char *parent_id = NULL;
|
||||
|
||||
/* Nonzero means open a new Emacs frame on the current terminal. */
|
||||
/* Nonzero means open a new Emacs frame on the current terminal. */
|
||||
int tty = 0;
|
||||
|
||||
/* If non-NULL, the name of an editor to fallback to if the server
|
||||
|
|
@ -148,7 +148,7 @@ const char *server_file = NULL;
|
|||
int emacs_pid = 0;
|
||||
|
||||
/* If non-NULL, a string that should form a frame parameter alist to
|
||||
be used for the new frame */
|
||||
be used for the new frame. */
|
||||
const char *frame_parameters = NULL;
|
||||
|
||||
static _Noreturn void print_help_and_exit (void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue