Commit 9133b82e authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.

parent 02c992ec
2013-06-01 Glenn Morris <>
* pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
Plain (f)boundp silences compilation warnings since Emacs 22.1.
* progmodes/cc-cmds.el (delete-forward-p):
* progmodes/cc-defs.el (buffer-syntactic-context-depth):
......@@ -158,7 +158,8 @@
"Completion for the GNU tar utility."
;; options that end in an equal sign will want further completion...
(let (saw-option complete-within)
(let ((pcomplete-suffix-list (cons ?= pcomplete-suffix-list)))
(let ((pcomplete-suffix-list (if (boundp 'pcomplete-suffix-list)
(cons ?= pcomplete-suffix-list))))
(while (pcomplete-match "^-" 0)
(setq saw-option t)
(if (pcomplete-match "^--" 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment