summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-03-30 17:08:55 -0700
committerGlenn Morris <rgm@gnu.org>2014-03-30 17:08:55 -0700
commit5c30ab7a71cbd9ca50e2baa2baad595005f5e5f3 (patch)
tree440471b0e1b04821321b8703a90ccdd642070dd9 /lisp/progmodes
parent1861d5a7121b349c4fb4db0ea06c898fcc85ca76 (diff)
downloademacs-5c30ab7a71cbd9ca50e2baa2baad595005f5e5f3.tar.gz
vhdl-mode.el small fixup
* lisp/progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren): Revert 2014-03-26 merge goof; go back to using defalias. Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg01104.html
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/vhdl-mode.el16
1 files changed, 7 insertions, 9 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 458c4bd15f5..f8d5f115c62 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -12635,17 +12635,15 @@ expressions (e.g. for index ranges of types and signals)."
(defalias 'he-list-beg 'vhdl-he-list-beg))
;; function for expanding abbrevs and dabbrevs
-(defun vhdl-expand-abbrev (arg))
-(fset 'vhdl-expand-abbrev (make-hippie-expand-function
- '(try-expand-dabbrev
- try-expand-dabbrev-all-buffers
- vhdl-try-expand-abbrev)))
+(defalias 'vhdl-expand-abbrev (make-hippie-expand-function
+ '(try-expand-dabbrev
+ try-expand-dabbrev-all-buffers
+ vhdl-try-expand-abbrev)))
;; function for expanding parenthesis
-(defun vhdl-expand-paren (arg))
-(fset 'vhdl-expand-paren (make-hippie-expand-function
- '(try-expand-list
- try-expand-list-all-buffers)))
+(defalias 'vhdl-expand-paren (make-hippie-expand-function
+ '(try-expand-list
+ try-expand-list-all-buffers)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Line handling functions