aboutsummaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-09-14 21:21:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-09-14 21:21:54 +0000
commit6d18f1c88cae7c8659bac0f1477656263237ce66 (patch)
tree62e105aea70f1fa85ffc61ea74b2ca396dda3499 /elisp
parent19a56baceb893a061e47c7341ab1aead32439e2b (diff)
downloadmailfromd-6d18f1c88cae7c8659bac0f1477656263237ce66.tar.gz
mailfromd-6d18f1c88cae7c8659bac0f1477656263237ce66.tar.bz2
Implement function aliases.
* mfd/symtab.c (struct alias): New data type. (union symentry): New member `alias'. (lookup_or_install): Remove erroneous condition, introduced in r1627 (branches/release_4_3_patches), which caused third argument (install) to be ignored if SYM_BITS was set in state. (function_install, function_lookup): Account for aliases. (install_alias): New function. * mfd/lex.l (alias): New keyword. * mfd/gram.y: Allow to define function aliases. * mfd/mailfromd.h (SYM_ALIAS): New define. (install_alias): New proto. * doc/mailfromd.texi: Document function aliases. * doc/NEWS: Likewise. * elisp/mfl-mode.el (mfl-mfd-command): Change command name. (mfl-keywords): Add alias. git-svn-id: file:///svnroot/mailfromd/trunk@1664 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'elisp')
-rw-r--r--elisp/mfl-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/mfl-mode.el b/elisp/mfl-mode.el
index 84e9ae0c..6241e50c 100644
--- a/elisp/mfl-mode.el
+++ b/elisp/mfl-mode.el
@@ -90,7 +90,7 @@
"
:group 'mfl)
-(defcustom mfl-mfd-command "mfd"
+(defcustom mfl-mfd-command "mailfromd"
"*The default mfd command line (without --lint option)"
:type 'string
:group 'mfl-lint)
@@ -292,7 +292,7 @@ otherwise."
(defconst mfl-keywords
(eval-when-compile
- (regexp-opt '("add" "and" "begin" "break" "case"
+ (regexp-opt '("add" "and" "alias" "begin" "break" "case"
"catch" "const" "continue" "default"
"delete" "discard" "do" "done"
"echo" "end" "elif" "else"

Return to:

Send suggestions and report system problems to the System administrator.