On Jun 3, 2008, at 10:38 PM, Stefan Monnier wrote: >> - What is the alternative to defvaralias, if one wants to access a >> variable by two different names? > > Don't know. I guess it depends on the reason why you want an > alternative?
For ns-option-modifier / ns-alternate-modifier, there are two names for the same keyboard key in common use (a long story involving PC and Mac keyboards, and GNUstep). Some users look for one, some another, in the variable name. The new file "ns-carbon-compat.el" uses def-var- alias to make the NS port look more like the more popular Carbon port to lisp packages and end users. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-